summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorSimon Rettberg2019-11-22 16:53:58 +0100
committerSimon Rettberg2019-11-22 16:53:58 +0100
commitdb1711ba8d8b57ba611c23a2cef77e4d16dd8137 (patch)
tree74bc1e6bde3ec44ddaec4d4cfb1fcd4de5c6667a /inc
parent[inc/Request] add REQUIRED flag for automatic error message (diff)
downloadslx-admin-db1711ba8d8b57ba611c23a2cef77e4d16dd8137.tar.gz
slx-admin-db1711ba8d8b57ba611c23a2cef77e4d16dd8137.tar.xz
slx-admin-db1711ba8d8b57ba611c23a2cef77e4d16dd8137.zip
[inc/Taskmanagercallback] Remove unused function
Diffstat (limited to 'inc')
-rw-r--r--inc/taskmanagercallback.inc.php18
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']
- ));
- }
-
-
+
}