mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-11-27 15:59: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.";
|