Move all utility functions that are used by multiple modules in the toolkit (clatoolkit/dashboard/dataintegration/etc) into a top level folder called "common".
When move them, refactor and merge it if possible.
For instance, get_uid_fromsmid() method returns user ID. get_username_fromsmid() method returns username. Why not creating a method that returns both and even more (user's email, etc.)?
Move all utility functions that are used by multiple modules in the toolkit (clatoolkit/dashboard/dataintegration/etc) into a top level folder called "common".
When move them, refactor and merge it if possible.
For instance, get_uid_fromsmid() method returns user ID. get_username_fromsmid() method returns username. Why not creating a method that returns both and even more (user's email, etc.)?