delete: empty function
This commit is contained in:
@@ -1211,23 +1211,4 @@ class PurchaseOrderAset extends MY_Controller {
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
## MUTATIONS ##
|
||||
public function insertPurchaseOrderAsset()
|
||||
{
|
||||
try {
|
||||
if (!$this->isLogin) {
|
||||
throw new Exception('Invalid token');
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
$msg = '[Error] ' . $e->getMessage();
|
||||
$code = $e->getCode();
|
||||
if ($code == 0) {
|
||||
$this->sys_error($msg);
|
||||
} else {
|
||||
$this->sys_error_db($msg);
|
||||
}
|
||||
exit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user