summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2019-09-27 22:43:54 +0200
committerFlorian Pritz <bluewind@xinu.at>2019-09-27 22:44:47 +0200
commit540a22a504ea50a49d08a8729b3d953e4a94395c (patch)
treec988fbe85ec298b2e52385dd9a34f5f686fa3b8c
parent9067e097cc335b4ec207d7c8c6a819741446a163 (diff)
upload_history_thumbnails: Remove broken PDF thumbnails
PDF thumbnail support has been removed by 98f7c65dddf0667f1a0462e08be9e6273ce658fb, but this has been left. The thumbnails are not generated so the images show up empty. Fix it by simply not listing them in the first place. Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/controllers/Main.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/application/controllers/Main.php b/application/controllers/Main.php
index 793c88b89..3b5fe353e 100644
--- a/application/controllers/Main.php
+++ b/application/controllers/Main.php
@@ -535,7 +535,6 @@ class Main extends MY_Controller {
(files.user = '.$this->db->escape($user).')
AND (
mimetype LIKE \'image%\'
- OR mimetype IN (\'application/pdf\')
)', null, false)
->order_by('date', 'desc')
->get()->result_array();