We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 981295f4 authored by mattl's avatar mattl

Autocomplete action must exist on user registration

No need to restrict the autocomplete suggestion system to logged in users.
It only botched the registration process, because the 'autocomplete' action
had not been connected in the routing system.
parent 633191d8
......@@ -49,9 +49,7 @@ class AutocompletePlugin extends Plugin
function onRouterInitialized($m)
if (common_logged_in()) {
$m->connect('main/autocomplete/suggest', array('action'=>'autocomplete'));
$m->connect('main/autocomplete/suggest', array('action'=>'autocomplete'));
function onPluginVersion(&$versions)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment