Fix minor issues

This commit is contained in:
Frederic Guillot
2015-07-19 18:54:00 -04:00
parent 56c08e55f7
commit 33a3196001
9 changed files with 18 additions and 12 deletions

View File

@@ -216,7 +216,6 @@ class Action extends Base
*/
public function remove($action_id)
{
// $this->container['fileCache']->remove('proxy_action_getAll');
return $this->db->table(self::TABLE)->eq('id', $action_id)->remove();
}
@@ -260,8 +259,6 @@ class Action extends Base
$this->db->closeTransaction();
// $this->container['fileCache']->remove('proxy_action_getAll');
return $action_id;
}
@@ -272,7 +269,6 @@ class Action extends Base
*/
public function attachEvents()
{
//$actions = $this->container['fileCache']->proxy('action', 'getAll');
$actions = $this->getAll();
foreach ($actions as $action) {

View File

@@ -281,7 +281,7 @@ class Board extends Base
$sum = 0;
foreach ($tasks as $task) {
$sum += $task['score'];
$sum += $task[$field];
}
return $sum;

View File

@@ -100,7 +100,7 @@ class DateParser extends Base
* Get all combinations of date/time formats
*
* @access public
* @return []string
* @return string[]
*/
public function getAllFormats()
{