truncate

  1. Terror

    XF 2.0 Simple Cronjob Script

    hello folks, for xf1 i made a simple cronjob script that worked great... <?php class AAA_BBB_CCC { public static function truncateTable() { $db = XenForo_Application::getDb(); $db->query("TRUNCATE TABLE xf_ip"); } } can you help me convert this to xf2? i've tried a lot like this but...
Top