mirror of
https://github.com/pierre42100/ComunicAPI
synced 2025-06-20 00:55:19 +00:00
Automatically clean calls.
This commit is contained in:
18
bin/clean_calls
Executable file
18
bin/clean_calls
Executable file
@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env php
|
||||
|
||||
############################
|
||||
# ComunicAPI calls cleaner #
|
||||
# #
|
||||
# @author Pierre HUBERT #
|
||||
############################
|
||||
|
||||
Automatically remove old calls
|
||||
|
||||
<?php
|
||||
|
||||
require __DIR__."/../init.php";
|
||||
|
||||
if(!components()->calls->cleanCalls())
|
||||
echo "Could not clean calls!";
|
||||
|
||||
echo "Calls successfully cleaned.";
|
Reference in New Issue
Block a user