tbrehm
2012-08-17 b349c0bda24c5a0780f650f4e65ee9fce6a4df91
Removed debug code from remoting.inc.php
1 files modified
4 ■■■■ changed files
interface/lib/classes/remoting.inc.php 4 ●●●● patch | view | raw | blame | history
interface/lib/classes/remoting.inc.php
@@ -1341,11 +1341,11 @@
        }
        
        $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;
    }