We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b81f648 commit 10b603bCopy full SHA for 10b603b
Console/Command/QueueShell.php
@@ -13,7 +13,7 @@
13
14
class QueueShell extends Shell {
15
public $uses = array(
16
- 'Queue.QueuedTask'
+ 'CakephpQueue.QueuedTask'
17
);
18
/**
19
* Codecomplete Hint
@@ -36,12 +36,12 @@ public function initialize() {
36
$this->_loadModels();
37
38
foreach (App::path('shells') as $path) {
39
- $folder = new Folder($path . DS . 'tasks');
+ $folder = new Folder($path . DS . 'Task');
40
$this->tasks = array_merge($this->tasks, $folder->find('Queue.*\.php'));
41
}
42
// strip the extension fom the found task(file)s
43
foreach ($this->tasks as &$task) {
44
- $task = basename($task, '.php');
+ $task = basename($task, 'Task.php');
45
46
47
//Config can be overwritten via local app config.
0 commit comments