summaryrefslogtreecommitdiffstats
path: root/application/core
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-09-06 14:40:56 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-11-01 17:26:31 +0100
commit6b60e109bb3feff911af34b13acdc75f2f9487b2 (patch)
treeff5045dbf90efc5eb07bea0a8117ebd71b9242d5 /application/core
parentb78773f3fb954654515d551bef9cb8e68cd4b05a (diff)
Add multipaste queue button to navigation
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/core')
-rw-r--r--application/core/MY_Controller.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/core/MY_Controller.php b/application/core/MY_Controller.php
index ede6577da..b9b75b82f 100644
--- a/application/core/MY_Controller.php
+++ b/application/core/MY_Controller.php
@@ -104,6 +104,7 @@ class MY_Controller extends CI_Controller {
$this->load->model("muser");
$this->data["user_logged_in"] = $this->muser->logged_in();
$this->data['redirect_uri'] = $this->uri->uri_string();
+ $this->data['show_multipaste_queue'] = !empty((new \service\multipaste_queue)->get());
}
protected function _require_cli_request()