コード例 #1
0
ファイル: db_session.class.php プロジェクト: utumdol/codeseed
 public static function clean($max = 0)
 {
     $old = time() - $max;
     return Sessions::neo()->where("updated_at < ?", $old)->delete();
 }