diff options
-rw-r--r-- | inc/taskmanagercallback.inc.php | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/inc/taskmanagercallback.inc.php b/inc/taskmanagercallback.inc.php index 0c4b116a..2be9fe73 100644 --- a/inc/taskmanagercallback.inc.php +++ b/inc/taskmanagercallback.inc.php @@ -201,21 +201,5 @@ class TaskmanagerCallback $mod->activate(1, false); MiniLinux::linuxDownloadCallback($task, $args); } - - public static function uploadimg($task) - { - //$string=var_export($task, true); - //file_put_contents('teste.txt',$string); - if (Taskmanager::isFailed($task)){ - EventLog::warning("ApiUpload failed: ", $task['data']['messages']); - } - $ret = Database::exec("UPDATE upload SET is_ready = :ready," . - " path = :path WHERE token = :token", array( - "ready"=>true, - "path"=>$task['data']['path'], - "token"=>$task['data']['token'] - )); - } - - + } |