more fixes
This commit is contained in:
@ -31,15 +31,6 @@ class Notification extends DatabaseModel {
|
|||||||
[ 'deletedAt', 'int', '11' ],
|
[ 'deletedAt', 'int', '11' ],
|
||||||
[ 'seenAt', 'int', '11' ],
|
[ 'seenAt', 'int', '11' ],
|
||||||
];
|
];
|
||||||
public $plugin;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The model constructor.
|
|
||||||
*/
|
|
||||||
public function __construct() {
|
|
||||||
parent::__construct();
|
|
||||||
$this->plugin = new Plugin;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function getUnreadCount( $userID ) {
|
public function getUnreadCount( $userID ) {
|
||||||
$result = self::$db->get(
|
$result = self::$db->get(
|
||||||
|
Reference in New Issue
Block a user