Skip to content

Commit 10b603b

Browse files
author
Ryan McCaw
committed
Changed the refrences to files which names have been changed to comply
with Cakphp2.0 and PSR
1 parent b81f648 commit 10b603b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Console/Command/QueueShell.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
class QueueShell extends Shell {
1515
public $uses = array(
16-
'Queue.QueuedTask'
16+
'CakephpQueue.QueuedTask'
1717
);
1818
/**
1919
* Codecomplete Hint
@@ -36,12 +36,12 @@ public function initialize() {
3636
$this->_loadModels();
3737

3838
foreach (App::path('shells') as $path) {
39-
$folder = new Folder($path . DS . 'tasks');
39+
$folder = new Folder($path . DS . 'Task');
4040
$this->tasks = array_merge($this->tasks, $folder->find('Queue.*\.php'));
4141
}
4242
// strip the extension fom the found task(file)s
4343
foreach ($this->tasks as &$task) {
44-
$task = basename($task, '.php');
44+
$task = basename($task, 'Task.php');
4545
}
4646

4747
//Config can be overwritten via local app config.

0 commit comments

Comments
 (0)