Fixing mess in Auth.pm
authorChris Cormack <crc@liblime.com>
Mon, 29 Oct 2007 18:21:39 +0000 (13:21 -0500)
committerJoshua Ferraro <jmf@liblime.com>
Mon, 29 Oct 2007 21:12:17 +0000 (16:12 -0500)
Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
C4/Auth.pm

index 2122450..ce0824b 100755 (executable)
@@ -406,7 +406,6 @@ sub checkauth {
         $loggedin = 1;
     }
     elsif ( $sessionID = $query->cookie("CGISESSID")) {
-<<<<<<< HEAD:C4/Auth.pm
                my $storage_method = C4::Context->preference('SessionStorage');
                my $session;
                if ($storage_method eq 'mysql'){
@@ -416,10 +415,6 @@ sub checkauth {
                        # catch all defaults to tmp should work on all systems
                        $session = new CGI::Session("driver:File", $sessionID, {Directory=>'/tmp'});                    
                }
-=======
-#         my $session = new CGI::Session("driver:MySQL", $sessionID, {Handle=>$dbh});
-        my $session = new CGI::Session("driver:File", $sessionID, {Directory=>'/tmp'});
->>>>>>> Commenting out some noisy warns:C4/Auth.pm
         C4::Context->_new_userenv($sessionID);
         if ($session){
             C4::Context::set_userenv(