Fakultas Ilmu Komputer UI

Commit 5f1cf48d authored by Muhamad Fariz Farhan's avatar Muhamad Fariz Farhan
Browse files

change softdelete in destroy to forcedelete

parent e4725a8d
......@@ -126,7 +126,7 @@ class AdminerDatabaseController extends Controller
public function destroy($id)
{
$database = AdminerDatabase::find($id);
$database->delete();
$database->forceDelete();
DB::statement("DROP DATABASE $database->name;");
}
}
......@@ -109,6 +109,6 @@ class UserController extends Controller
*/
public function destroy(User $user)
{
$user->delete();
$user->forceDelete();
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment