Cleanup code for update/add

This commit is contained in:
xisi 2013-12-19 09:20:15 -05:00
parent 47a13f937b
commit a51d195141

View File

@ -13,6 +13,8 @@ class Worker extends Base {
* @return bool
**/
public function updateWorkers($account_id, $data) {
$this->debug->append("STA " . __METHOD__, 4);
if (!public function updateWorkers($account_id, $data) {
$this->debug->append("STA " . __METHOD__, 4);
if (!is_array($data)) {
$this->setErrorMessage('No workers to update');