Page MenuHomePhabricator

ManualLogEntry::setDeleted doesn't mark log deleted on insert
Closed, ResolvedPublic

Description

Doing something like,

$logEntry = new ManualLogEntry( ... );
$logEntry->setDeleted( Revision::SUPPRESSED_USER );
$logEntry->insert();

inserts a row in the logging table with the log_deleted column still set to the default 0, instead of the expected 12.


Version: 1.22.5
Severity: normal

Details

Reference
bz63650

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 3:22 AM
bzimport added a project: MediaWiki-Logging.
bzimport set Reference to bz63650.
csteipp created this task.Apr 7 2014, 8:45 PM

Change 130232 had a related patch set uploaded by CSteipp:
Allow adding Deleted log entries

https://gerrit.wikimedia.org/r/130232

Change 130232 merged by jenkins-bot:
Allow adding Deleted log entries

https://gerrit.wikimedia.org/r/130232