Fix "passed by reference" warning in user/edit
authorNeutron Soutmun <neo.neutron@gmail.com>
Tue, 21 Jun 2011 17:53:49 +0000 (00:53 +0700)
committerNeutron Soutmun <neo.neutron@gmail.com>
Tue, 21 Jun 2011 17:53:49 +0000 (00:53 +0700)
commitfbd739b3e7dbf9bcfb802fca0acec7b206e6436c
tree1c437b703a6abb84ebc762017d5fd10efef5ef78
parent98af727a2d67e1196f5b40b48dbf95f5bfe94935
Fix "passed by reference" warning in user/edit

  * rahunas/rahunas.user.inc (_rahunas_user_forms):
    - Add the dummy function to get the forms in the category.
  * rahunas/rahunas.user.inc (rahunas_user_profile_form):
    - Call the dummy function (_rahunas_user_forms) to get the form instead,
      could not call module_invoke() as $edit and $account need to be passed
      by reference.
  * rahunas/rahunas.module (rahunas_rahunas):
    - Drop extra code as it useless.
rahunas/rahunas.module
rahunas/rahunas.user.inc