This function needs the global $config.

This commit is contained in:
green-ponies (jgen) 2011-09-03 17:01:27 -04:00
parent e6e9aced1c
commit 9c8da62ba0

View File

@ -172,6 +172,8 @@ class ImageIO extends SimpleExtension {
public function onImageAdminBlockBuilding($event) {
global $user;
global $config;
if($user->is_admin()) {
$event->add_part($this->theme->get_deleter_html($event->image->id));
}