Do not add empty job address in vcard.
[platal.git] / classes / pllogger.php
index 7a75bec..1c2ca10 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /*
- * Copyright (C) 2003-2008 Polytechnique.org
+ * Copyright (C) 2003-2011 Polytechnique.org
  * http://opensource.polytechnique.org/
  *
  * This program is free software; you can redistribute it and/or modify
@@ -43,18 +43,6 @@ abstract class PlLogger
      */
     abstract public function isValid($uid);
 
-    /** Build a logger.
-     */
-    public static function get($uid, $suid = 0)
-    {
-        if (defined('PL_LOGGER_CLASS')) {
-            $class = PL_LOGGER_CLASS;
-            return new $class($uid, $suid);
-        } else {
-            return new DummyLogger($uid, $suid);
-        }
-    }
-
     /** Return a dummy logger.
      */
     public static function dummy($uid, $suid = 0) {