]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/action.php
Make lists work in single-user mode
[quix0rs-gnu-social.git] / lib / action.php
index 18ffb5e9206b1da4d2ee4dcab424d54f66c4e0bd..d85ee25fb65377c5913f56787ae4b2accbc39ae9 100644 (file)
@@ -328,10 +328,8 @@ class Action extends HTMLOutputter // lawsuit
                 }
                 // This route isn't available in single-user mode.
                 // Not sure why, but it causes errors here.
-                if (!common_config('singleuser', 'enabled')) {
-                    $this->inlineScript('var _peopletagAC = "' .
-                                        common_local_url('peopletagautocomplete') . '";');
-                }
+                $this->inlineScript('var _peopletagAC = "' .
+                                    common_local_url('peopletagautocomplete') . '";');
                 $this->showScriptMessages();
                 // Anti-framing code to avoid clickjacking attacks in older browsers.
                 // This will show a blank page if the page is being framed, which is