mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-23 23:44:53 +00:00
Avoid use of IDatabase::update return value
Change-Id: I6780b4ca7051daee38d9155632a556455c434b67
This commit is contained in:
parent
84fbb3da29
commit
9cca289625
|
@ -68,7 +68,7 @@ class EchoEventMapper extends EchoAbstractMapper {
|
|||
|
||||
$selectDeleted = $deleted ? 0 : 1;
|
||||
$setDeleted = $deleted ? 1 : 0;
|
||||
$res = $dbw->update(
|
||||
$dbw->update(
|
||||
'echo_event',
|
||||
[
|
||||
'event_deleted' => $setDeleted,
|
||||
|
@ -80,7 +80,7 @@ class EchoEventMapper extends EchoAbstractMapper {
|
|||
__METHOD__
|
||||
);
|
||||
|
||||
return $res;
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue