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

26 lines
386 B
PHP
Raw Normal View History

2015-07-08 13:09:57 +00:00
<?php
/*
* Ban management
*/
namespace Sakura;
class Bans {
2015-07-30 01:12:53 +00:00
// 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'
];
}
}
2015-07-08 13:09:57 +00:00
}