From: Brion Vibber Date: Mon, 24 Nov 2003 10:48:39 +0000 (+0000) Subject: Image deletion for yssops only X-Git-Tag: 1.1.0~99 X-Git-Url: http://git.cyclocoop.org/data/%7BGarradin/WEBSITE%7D?a=commitdiff_plain;h=1eea2cd0d513f72811bc7fbcf32814bdbf4bd253;p=lhc%2Fweb%2Fwiklou.git Image deletion for yssops only --- diff --git a/includes/ImagePage.php b/includes/ImagePage.php index bc993a8207..06f2927636 100644 --- a/includes/ImagePage.php +++ b/includes/ImagePage.php @@ -90,7 +90,7 @@ class ImagePage extends Article { # Anybody can delete old revisions of images; only sysops # can delete articles and current images - if ( ( ! $oldimage ) && ( ! $wgUser->isSysop() ) ) { + if ( !$wgUser->isSysop() ) { $wgOut->sysopRequired(); return; }