diff options
author | Michael Gapczynski <mtgap@owncloud.com> | 2013-06-04 18:19:08 -0400 |
---|---|---|
committer | Michael Gapczynski <mtgap@owncloud.com> | 2013-06-04 18:19:08 -0400 |
commit | cb9fe475c4481993d2c95b040f7abb653f0971e7 (patch) | |
tree | 874e56e888745676fe815c3c8f75e2741ce275af /lib/backgroundjob/legacy/queuedjob.php | |
parent | 9ead7c4776bd512c2a50ab917b99dcdc37e8db68 (diff) | |
parent | c59ee99d932eb9a5d7df8fdfb6c318abfdef88b7 (diff) | |
download | nextcloud-server-cb9fe475c4481993d2c95b040f7abb653f0971e7.tar.gz nextcloud-server-cb9fe475c4481993d2c95b040f7abb653f0971e7.zip |
Merge branch 'master' into hook-improvements
Conflicts:
lib/files/view.php
Diffstat (limited to 'lib/backgroundjob/legacy/queuedjob.php')
-rw-r--r-- | lib/backgroundjob/legacy/queuedjob.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/backgroundjob/legacy/queuedjob.php b/lib/backgroundjob/legacy/queuedjob.php new file mode 100644 index 00000000000..2bc001103b8 --- /dev/null +++ b/lib/backgroundjob/legacy/queuedjob.php @@ -0,0 +1,18 @@ +<?php +/** + * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com> + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +namespace OC\BackgroundJob\Legacy; + +class QueuedJob extends \OC\BackgroundJob\QueuedJob { + public function run($argument) { + $class = $argument['klass']; + $method = $argument['method']; + $parameters = $argument['parameters']; + call_user_func(array($class, $method), $parameters); + } +} |