mirror of
https://github.com/pierre42100/ComunicAPI
synced 2024-12-26 05:28:57 +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.";
|