mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 08:32:14 +00:00
auto delete all shared links every day in demo mode
This commit is contained in:
12
src/Support/Demo/Actions/DeleteAllSharedLinksAction.php
Normal file
12
src/Support/Demo/Actions/DeleteAllSharedLinksAction.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace Support\Demo\Actions;
|
||||
|
||||
use DB;
|
||||
|
||||
class DeleteAllSharedLinksAction
|
||||
{
|
||||
public function __invoke()
|
||||
{
|
||||
DB::table('shares')->delete();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user