XOrgIterator subclass is useless, drop it
authorx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 23 Jul 2006 11:37:55 +0000 (11:37 +0000)
committerx2000habouzit <x2000habouzit@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sun, 23 Jul 2006 11:37:55 +0000 (11:37 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@580 839d8a87-29fc-0310-9880-83ba4fa771e5

classes/XDB.php
include/platal/globals.inc.php.in
include/platal/iterator.inc.php [deleted file]

index 2a4c505..7e157ce 100644 (file)
@@ -229,7 +229,7 @@ class XOrgDBResult
     // }}}
 }
 
-class XOrgDBIterator extends XOrgIterator
+class XOrgDBIterator
 {
     // {{{ properties
 
index 23c1c34..b260161 100644 (file)
@@ -21,7 +21,6 @@
 
 require_once('diogenes/diogenes.core.globals.inc.php');
 require_once('diogenes/diogenes.database.inc.php');
-require_once('platal/iterator.inc.php');
 require_once dirname(__FILE__).'/../../classes/XDB.php';
 
 class CoreConfig
diff --git a/include/platal/iterator.inc.php b/include/platal/iterator.inc.php
deleted file mode 100644 (file)
index 5f91d86..0000000
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-/***************************************************************************
- *  Copyright (C) 2003-2006 Polytechnique.org                              *
- *  http://opensource.polytechnique.org/                                   *
- *                                                                         *
- *  This program is free software; you can redistribute it and/or modify   *
- *  it under the terms of the GNU General Public License as published by   *
- *  the Free Software Foundation; either version 2 of the License, or      *
- *  (at your option) any later version.                                    *
- *                                                                         *
- *  This program is distributed in the hope that it will be useful,        *
- *  but WITHOUT ANY WARRANTY; without even the implied warranty of         *
- *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
- *  GNU General Public License for more details.                           *
- *                                                                         *
- *  You should have received a copy of the GNU General Public License      *
- *  along with this program; if not, write to the Free Software            *
- *  Foundation, Inc.,                                                      *
- *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
- **************************************************************************/
-
-// {{{ class XOrgIterator
-
-class XOrgIterator
-{
-    // {{{ function next
-    
-    function &next()
-    {
-        return null;
-    }
-
-    // }}}
-    // {{{ function first
-
-    function first()
-    {
-        return false;
-    }
-
-    // }}}
-    // {{{ function last
-
-    function last()
-    {
-        return false;
-    }
-
-    // }}}
-    // {{{ function total
-
-    function total()
-    {
-        return 0;
-    }
-
-    // }}}
-    
-}
-
-// }}}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker:
-?>