[Phpslash-commit] CVS: phpslash-dev/include/modules/author Author.class,1.3,1.4
Brought to you by:
joestewart,
nhruby
From: Luis M <le...@us...> - 2004-10-29 18:10:06
|
Update of /cvsroot/phpslash/phpslash-dev/include/modules/author In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10488 Modified Files: Author.class Log Message: Cleaned ugly ^M ( hi DOS users :-) ) Index: Author.class =================================================================== RCS file: /cvsroot/phpslash/phpslash-dev/include/modules/author/Author.class,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** Author.class 24 Sep 2004 20:15:27 -0000 1.3 --- Author.class 29 Oct 2004 18:09:53 -0000 1.4 *************** *** 1,1101 **** ! <?php ! ! /* $Id$ */ ! ! /** ! * Provides an API to the PHPSlash Author Management. ! * ! * This object is how we do anything with authors. ! * ! * optional configuration variables: [...2173 lines suppressed...] ! } ! ! function get_group_users($group) { ! $q = "SELECT psl_author.author_name ! FROM psl_group, psl_author_group_lut, psl_author ! WHERE psl_group.group_id = psl_author_group_lut.group_id ! AND psl_author_group_lut.author_id = psl_author.author_id ! AND psl_group.group_name = '$group'"; ! debug("q", $q); ! $this->db->query($q); ! ! $i = 0; ! if ($this->db->next_record()) { ! return $this->db->Record; ! } ! return false; ! } ! ! } /* end of Author.class */ ! ?> |