diff options
author | Platonides <platonides@users.mediawiki.org> | 2011-10-27 20:48:09 +0000 |
---|---|---|
committer | Platonides <platonides@users.mediawiki.org> | 2011-10-27 20:48:09 +0000 |
commit | d581e9dd5a194b3a5b8584fd945a971f918d8932 (patch) | |
tree | 4b2d779dffcd7e68515cb1520689ae3d9ea0d07c /includes/logging/LogEntry.php | |
parent | b212bace90bf0c6e34308b8805c127350467c981 (diff) | |
download | mediawikicore-d581e9dd5a194b3a5b8584fd945a971f918d8932.tar.gz mediawikicore-d581e9dd5a194b3a5b8584fd945a971f918d8932.zip |
Removal of unused globals
Notes
Notes:
http://mediawiki.org/wiki/Special:Code/MediaWiki/101043
Diffstat (limited to 'includes/logging/LogEntry.php')
-rw-r--r-- | includes/logging/LogEntry.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/includes/logging/LogEntry.php b/includes/logging/LogEntry.php index 221fa2ec4f12..82d1ff16198d 100644 --- a/includes/logging/LogEntry.php +++ b/includes/logging/LogEntry.php @@ -362,8 +362,6 @@ class ManualLogEntry extends LogEntryBase { * @return int If of the log entry */ public function insert() { - global $wgLogRestrictions; - $dbw = wfGetDB( DB_MASTER ); $id = $dbw->nextSequenceValue( 'logging_log_id_seq' ); @@ -464,4 +462,4 @@ class ManualLogEntry extends LogEntryBase { return (int) $this->deleted; } -}
\ No newline at end of file +} |