aboutsummaryrefslogtreecommitdiffstats
path: root/includes/logging/LogEntry.php
diff options
context:
space:
mode:
authorPlatonides <platonides@users.mediawiki.org>2011-10-27 20:48:09 +0000
committerPlatonides <platonides@users.mediawiki.org>2011-10-27 20:48:09 +0000
commitd581e9dd5a194b3a5b8584fd945a971f918d8932 (patch)
tree4b2d779dffcd7e68515cb1520689ae3d9ea0d07c /includes/logging/LogEntry.php
parentb212bace90bf0c6e34308b8805c127350467c981 (diff)
downloadmediawikicore-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.php4
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
+}