示例#1
0
 public static function clean($max = 0)
 {
     $old = time() - $max;
     return Sessions::neo()->where("updated_at < ?", $old)->delete();
 }