summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2014-05-15 03:43:27 +0200
committerBernhard Posselt <dev@bernhard-posselt.com>2014-05-15 03:43:27 +0200
commitadb9dfeb350bdb92e998fefc2827ffe8b58256a2 (patch)
tree2dd477e8d89957d29bc41edf204950ecbb0c9aa8
parent407fbebc2da14520942e0a6a9220a5a3cfc4a7ad (diff)
rename backgroundjob/task.php to cron/updater.php
-rw-r--r--appinfo/app.json2
-rw-r--r--cron/updater.php (renamed from backgroundjob/task.php)4
2 files changed, 3 insertions, 3 deletions
diff --git a/appinfo/app.json b/appinfo/app.json
index 33e54d8a2..9a44435ef 100644
--- a/appinfo/app.json
+++ b/appinfo/app.json
@@ -28,7 +28,7 @@
"documentation": {
"developer": "https://github.com/owncloud/news/wiki"
},
- "jobs": ["OCA\\News\\BackgroundJob\\Task"],
+ "jobs": ["OCA\\News\\Cron\\Updater"],
"hooks": {
"OC_User::pre_deleteUser": "OCA\\News\\Hooks\\User::deleteUser"
},
diff --git a/backgroundjob/task.php b/cron/updater.php
index a7ffc3e8c..ac314760c 100644
--- a/backgroundjob/task.php
+++ b/cron/updater.php
@@ -12,12 +12,12 @@
*/
-namespace OCA\News\BackgroundJob;
+namespace OCA\News\Cron;
use \OCA\News\AppInfo\Application;
-class Task {
+class Updater {
static public function run() {