public function remove_activity($act_id, $is_delete) { $table = new ActivityTable(); return $table->set_deleted_time($act_id, $is_delete, date('Y-m-d H:i:s')); }