From 1eea2cd0d513f72811bc7fbcf32814bdbf4bd253 Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Mon, 24 Nov 2003 10:48:39 +0000 Subject: [PATCH] Image deletion for yssops only --- includes/ImagePage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.20.1