Avoid use of IDatabase::update return value

Change-Id: I6780b4ca7051daee38d9155632a556455c434b67
This commit is contained in:
Aaron Schulz 2018-10-26 12:46:58 -07:00
parent 84fbb3da29
commit 9cca289625

View file

@ -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;
}
/**