[freeside-commits] freeside/FS/FS CurrentUser.pm,1.1,1.2
Ivan,,,
ivan at wavetail.420.am
Mon Jun 19 05:15:34 PDT 2006
Update of /home/cvs/cvsroot/freeside/FS/FS
In directory wavetail:/tmp/cvs-serv16352/FS
Modified Files:
CurrentUser.pm
Log Message:
ACL bootstrapping
Index: CurrentUser.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/CurrentUser.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- CurrentUser.pm 19 Jun 2006 02:33:52 -0000 1.1
+++ CurrentUser.pm 19 Jun 2006 12:15:32 -0000 1.2
@@ -1,11 +1,13 @@
package FS::CurrentUser;
-use vars qw($CurrentUser);
+use vars qw($CurrentUser $upgrade_hack);
#not at compile-time, circular dependancey causes trouble
#use FS::Record qw(qsearchs);
#use FS::access_user;
+$upgrade_hack = 0;
+
=head1 NAME
FS::CurrentUser - Package representing the current user
@@ -19,8 +21,9 @@
sub load_user {
my( $class, $user ) = @_; #, $pass
- #XXX remove me at some point
- return "" if $user =~ /^fs_(queue|selfservice)$/;
+ return "" if $upgrade_hack;
+
+ #return "" if $user =~ /^fs_(queue|selfservice)$/;
#not the best thing in the world...
eval "use FS::Record qw(qsearchs);";
More information about the freeside-commits
mailing list