Commit b349c0bd authored by tbrehm's avatar tbrehm
Browse files

Removed debug code from remoting.inc.php

parent b8fe562e
......@@ -1341,11 +1341,11 @@ class remoting {
}
$data = $app->db->queryOneRecord("SELECT server_id FROM ftp_user WHERE username = '".$app->db->quote($ftp_user)."'");
file_put_contents('/tmp/test.txt', serialize($data));
//file_put_contents('/tmp/test.txt', serialize($data));
if(!isset($data['server_id'])) return false;
$server = $this->server_get($session_id, $data['server_id'], 'server');
file_put_contents('/tmp/test2.txt', serialize($server));
//file_put_contents('/tmp/test2.txt', serialize($server));
return $server;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment