punctuations
This commit is contained in:
parent
5609976164
commit
561c9fdbb7
@ -286,7 +286,7 @@ class Image {
|
|||||||
public function delete() {
|
public function delete() {
|
||||||
$this->delete_tags_from_image();
|
$this->delete_tags_from_image();
|
||||||
$this->database->execute("DELETE FROM images WHERE id=?", array($this->id));
|
$this->database->execute("DELETE FROM images WHERE id=?", array($this->id));
|
||||||
log_info("core-image", "Deleted Image #{$image->id} ({$image->hash})")
|
log_info("core-image", "Deleted Image #{$image->id} ({$image->hash})");
|
||||||
|
|
||||||
unlink($this->get_image_filename());
|
unlink($this->get_image_filename());
|
||||||
unlink($this->get_thumb_filename());
|
unlink($this->get_thumb_filename());
|
||||||
|
@ -43,7 +43,7 @@ class AdminPage implements Extension {
|
|||||||
|
|
||||||
if(($event instanceof PageRequestEvent) && $event->page_matches("admin_utils")) {
|
if(($event instanceof PageRequestEvent) && $event->page_matches("admin_utils")) {
|
||||||
if($event->user->is_admin()) {
|
if($event->user->is_admin()) {
|
||||||
log_info("admin", "Util: {$_POST['action']}")
|
log_info("admin", "Util: {$_POST['action']}");
|
||||||
set_time_limit(0);
|
set_time_limit(0);
|
||||||
$redirect = false;
|
$redirect = false;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user