Cleanup code for update/add
This commit is contained in:
parent
47a13f937b
commit
a51d195141
@ -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');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user