This repository has been archived on 2024-06-26. You can view files and clone it, but cannot push or open issues or pull requests.
sakura/_sakura/components/Bans.php
2015-07-30 03:12:53 +02:00

26 lines
386 B
PHP

<?php
/*
* Ban management
*/
namespace Sakura;
class Bans {
// Check if a user is banned
public static function checkBan($id) {
if($id == 1) {
return [
'user' => 1,
'issuer' => 2,
'issued' => 246,
'expires' => time(),
'reason' => 'meow'
];
}
}
}