forked from Cavemanon/cavepaintings
Formatting pass
This commit is contained in:
parent
bb891f3bd0
commit
32927aea3d
@ -122,10 +122,8 @@ class CronUploader extends Extension
|
||||
|
||||
if (self::$IMPORT_RUNNING) {
|
||||
$all = $user_config->get_bool(CronUploaderConfig::INCLUDE_ALL_LOGS);
|
||||
if($event->priority >= $user_config->get_int(CronUploaderConfig::LOG_LEVEL) &&
|
||||
if ($event->priority >= $user_config->get_int(CronUploaderConfig::LOG_LEVEL) &&
|
||||
($event->section==self::NAME || $all)) {
|
||||
|
||||
|
||||
$output = "[" . date('Y-m-d H:i:s') . "] " . ($all ? '[' . $event->section . '] ' : '') . "[" . LOGGING_LEVEL_NAMES[$event->priority] . "] " . $event->message;
|
||||
|
||||
echo $output . "\r\n";
|
||||
|
@ -13,6 +13,5 @@ class UserConfigTest extends ShimmiePHPUnitTestCase
|
||||
$this->get_page('user_config');
|
||||
$this->assert_title(self::OPTIONS_BLOCK_TITLE);
|
||||
$this->log_out();
|
||||
|
||||
}
|
||||
}
|
||||
|
@ -83,7 +83,7 @@ class ViewImage extends Extension
|
||||
} else {
|
||||
$query = null;
|
||||
}
|
||||
$page->set_redirect(make_link("post/view/$image_id", null, $query));
|
||||
$page->set_redirect(make_link("post/view/$image_id", null, $query));
|
||||
} else {
|
||||
$this->theme->display_error(403, "Post Locked", "An admin has locked this post");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user