<?php namespace XF\Cron; /** * Cron entry for cleaning up bans. */ class Ban { /** * Deletes expired bans. */ public static function deleteExpiredBans() { \XF::app()->repository('XF:Banning')->deleteExpiredUserBans(); } }