mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-12-25 13:08:58 +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.";
|