mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-23 22:09:29 +00:00
18 lines
345 B
Plaintext
18 lines
345 B
Plaintext
|
#!/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.";
|