Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Members controller refactoring #460

Merged
merged 5 commits into from May 30, 2013
Merged

Members controller refactoring #460

merged 5 commits into from May 30, 2013

Conversation

eurich
Copy link
Member

@eurich eurich commented May 26, 2013

No description provided.

Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
@norv
Copy link
Contributor

norv commented May 29, 2013

I tried to find in js as well, but at no avail I'm afraid. It does seem as a leftover, whose use has been replaced at some point in time with action_findmembers (formerly JSMembers())... This action_requestmembers() method comes from a SMF 2.0/2.1 Subs- function, which also doesn't seem actually called.

Unless we do things like $scripturl + '?action=re' + 'questm' + 'embers' (lol), I'd be tempted to say it isn't used... and test that! ;)

@emanuele45
Copy link
Contributor

Searching around it was used in 1.1 (and maybe 1.0) to fill the PM names.

        <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
            function autocompleter(element)
[...]
                var toComplete = new autocompleter("to"), bccComplete = new autocompleter("bcc");
                toComplete.source = "', $scripturl, '?action=requestmembers;sesc=', $context['session_id'], ';search=";
                bccComplete.source = "', $scripturl, '?action=requestmembers;sesc=', $context['session_id'], ';search=";

But then in 2.0 SMF started to use the autosuggest and probably this has been kept for some kind of backward compatibility.

👍 for dropping it! :D

@norv
Copy link
Contributor

norv commented May 29, 2013

and probably this has been kept for some kind of backward compatibility.

Or simply forgotten.

@emanuele45
Copy link
Contributor

Of course that's another possibility. 👼

Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
@norv
Copy link
Contributor

norv commented May 30, 2013

Looking good to me, dropping some more code ftw :)

norv added a commit that referenced this pull request May 30, 2013
Members controller refactoring
@norv norv merged commit 3a69209 into elkarte:master May 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants