ComunicAPI/bin/clean_calls

18 lines
345 B
PHP
Executable File

#!/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.";