user_access

user module causes warning while calling user_access()

  1. function user_is_queue_member($account) {
  2.   global $user;
  3.   /*
  4.    * if I omit the following check it creates
  5.    * following error:
  6.  

This is simplemodule.module . It only has 3 lines of code. not working :(

  1. <?php # vim: set filetype=php expandtab tabstop=2 shiftwidth=2 autoindent smartindent:
  2.  
  3. function simplemodule_user($op, &$edit, &$account, $category = NULL) {
Syndicate content