mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 08:14:25 +02:00
Fix errors in Database namespace
This commit is contained in:
parent
496f0755b1
commit
1fe730f514
11 changed files with 34 additions and 46 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue