Remove unused code
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Mon, 22 Jun 2009 09:02:14 +0000 (11:02 +0200)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Sat, 27 Jun 2009 22:57:23 +0000 (00:57 +0200)
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
modules/axletter/axletter.inc.php

index 68c64a9..3c6cf3d 100644 (file)
@@ -189,14 +189,6 @@ class AXLetter extends MassMailer
         return XDB::execute("DELETE FROM axletter_rights WHERE user_id = {?}", $uid);
     }
 
-    protected function subsetJoin()
-    {
-        if ($this->_subset) {
-            return "INNER JOIN axletter_subsets AS c ON (c.letter_id = ".XDB::escape($this->_id)." AND ni.user_id = c.uid)";
-        }
-        return '';
-    }
-
     protected function subscriptionWhere()
     {
         if (!$this->_promo_min && !$this->_promo_max && !$this->_subset) {