Closed (fixed)
Project:
User Relationships
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2011 at 13:23 UTC
Updated:
3 Jun 2011 at 08:02 UTC
Jump to comment: Most recent file
Comments
Comment #1
BenK commentedSubscribing to help with testing...
Comment #2
mrf commentedHere's a first stab at moving these. Tests pass locally, and didn't notice any side effects spending a few minutes clicking through the ui and testing some places these api functions get used.
Comment #3
berdirNot sure if we should move that one too. Remove the _ and make it a real API function, yes, but if you look at what it returns, it is very much UI related. But I guess it doesn't hurt.
Thanks working on this, I'm currently at the i18n Sprint in Berlin, so I won't have much time for UR this week.
Powered by Dreditor.
Comment #4
mrf commentedYeah, I thought that one was a little more generic, but on closer examination its really is only used for a very specific purpose in one place. Would be awesome to eventually provide something similar that is a little more flexible. Moving it back to user_relationships_ui.module for now.
Comment #6
berdir#4: api-move-1136378-4.patch queued for re-testing.
Comment #7
berdirHaven't noticed this before, but it's pretty pointless to move the page callback to the base module but not the hook_menu() entry :)
And when touching that, we might also want to change the path of that. Not sure to what exactly, however. Should it be below admin/ ? Or more something like (user_)relationships/types-autocomplete?
Otherwise, this looks good. We could also postpone the autocomplete part and just commit the other parts for now.
Your call :)
Powered by Dreditor.
Comment #8
mrf commentedHere you go, tried to give this an autocomplete a path that we could build off of if we added another autocomplete for something else for some reason down the line.
The default relationship module is the one place that uses this and everything there still works after the move.
Comment #9
berdirLooks good to me, commited!