]> git.mjollnir.org Git - moodle.git/commitdiff
"MDL-13766, remove debug code"
authordongsheng <dongsheng>
Wed, 10 Sep 2008 05:20:08 +0000 (05:20 +0000)
committerdongsheng <dongsheng>
Wed, 10 Sep 2008 05:20:08 +0000 (05:20 +0000)
repository/boxnet/repository.class.php

index 0440cf109605a1f357ec9235dfbf57cd2d1e8830..0739167c17a19ef8e2ddcbb3b1ff111a8e0ed15b 100755 (executable)
@@ -4,7 +4,7 @@
  * This is a subclass of repository class
  *
  * @author Dongsheng Cai
- * @version 0.1 dev
+ * @version $Id$
  * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
  */
 
@@ -130,7 +130,6 @@ class repository_boxnet extends repository{
         }
         $tree = $this->box->getfiletree($path);
         if(!empty($tree)) {
-            // TODO: think about how to search
             $ret['list']   = $tree;
             $ret['manage'] = 'http://www.box.net/files';
             $ret['path'] = array(array('name'=>'Root', 'path'=>0));
@@ -187,11 +186,8 @@ class repository_boxnet extends repository{
                     $e4->type  = 'password';
                     $e4->name  = 'boxpassword';
 
-                    $e5->type = 'popup';
-                    $e5->url = 'http://dongsheng.moodle.com/m20/repository/callback.php';
-
                     $ret = array();
-                    $ret['login'] = array($e1, $e2, $e3, $e4, $e5);
+                    $ret['login'] = array($e1, $e2, $e3, $e4);
                     return $ret;
                 } else {
                     echo $str;