[support] Programmatically checking if a user is flagged
toon severijns
toon.severijns at gmail.com
Wed Jun 8 02:31:43 UTC 2011
Hello all,
I'm using the flags module. How can i check if a user is flagged?
$flag = flag_get_flag('student_has_project');
$flag->is_flagged($user->uid);
Is this correct? I can't find it in official documentation.
I'm unflagging the user using Rules, but that doesn't seem to work.
Best,
Toon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/support/attachments/20110608/36f5324b/attachment.html
More information about the support
mailing list