Fix errors in Database namespace

This commit is contained in:
Art4 2024-12-03 20:36:29 +00:00
parent 496f0755b1
commit 1fe730f514
11 changed files with 34 additions and 46 deletions

View file

@ -95,15 +95,13 @@ class UserNotification
* Delete a row from the post-user-notification table
*
* @param array $conditions Field condition(s)
* @param array $options - cascade: If true we delete records in other tables that depend on the one we're deleting through
* relations (default: true)
*
* @return boolean was the deletion successful?
* @throws Exception
*/
public static function delete(array $conditions, array $options = []): bool
public static function delete(array $conditions): bool
{
return DBA::delete('post-user-notification', $conditions, $options);
return DBA::delete('post-user-notification', $conditions);
}
/**