Jacek Kowalski
2012-06-25 a9486bb5e39a34bf0c4b85fd4be772c7fc0fa0ed
class/BotSession.php
@@ -72,7 +72,9 @@
         }
      }
      catch(Exception $e) {
         @unlink(BOT_TOPDIR.'/database/'.sha1($this->user).'.sqlite');
         if(file_exists(BOT_TOPDIR.'/database/'.sha1($this->user).'.sqlite')) {
            @unlink(BOT_TOPDIR.'/database/'.sha1($this->user).'.sqlite');
         }
         throw $e;
      }
   }
@@ -147,4 +149,4 @@
      $st->execute(array($this->class));
   }
}
?>
?>