Fix minor issues
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -281,7 +281,7 @@ class Board extends Base
|
||||
$sum = 0;
|
||||
|
||||
foreach ($tasks as $task) {
|
||||
$sum += $task['score'];
|
||||
$sum += $task[$field];
|
||||
}
|
||||
|
||||
return $sum;
|
||||
|
||||
@@ -100,7 +100,7 @@ class DateParser extends Base
|
||||
* Get all combinations of date/time formats
|
||||
*
|
||||
* @access public
|
||||
* @return []string
|
||||
* @return string[]
|
||||
*/
|
||||
public function getAllFormats()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user