public function update() { $backup = new Backup($this->registry); $update = new Update($this->registry); //$backup->run(); $update->run(); }
/** * UPDATE * @param $task * @param $values * @param $condition * @return bool|mysqli_result */ public function update($task, $values, $condition) { $update = new Update(); return $update->run($task, $values, $condition); }