system/Database/Logs/DatabaseLogs.php
/**
     * Clear Database logs
     *
     * @return bool true on success or false on failure.
     */
Clear Database logs
@return bool true on success or false on failure.
Clear Database logs @return bool true on success or false on failure .
public static function clearDatabasLogs()
    {
        $f = fopen(BASE_PATH.'/database/logs/db-logs.txt', 'w+');
        $error = "----------------------------------------------------------------------- \n\n";
        fwrite($f, $error);
        return fclose($f);
    }
public static function clearDatabasLogs ( ) { $ f = fopen ( BASE_PATH . '/database/logs/db-logs.txt' , 'w+' ) ; $ error = " -----------------------------------------------------------------------  \n \n " ; fwrite ( $ f , $ error ) ; return fclose ( $ f ) ; }
Clear Database logs
 @return bool true on success or false on failure.
Clear Database logs @return bool true on success or false on failure .