From 1cd9bd802acc84293114b7d0f662b096be5c8b71 Mon Sep 17 00:00:00 2001 From: dongsheng Date: Wed, 10 Sep 2008 05:20:08 +0000 Subject: [PATCH] "MDL-13766, remove debug code" --- repository/boxnet/repository.class.php | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/repository/boxnet/repository.class.php b/repository/boxnet/repository.class.php index 0440cf1096..0739167c17 100755 --- a/repository/boxnet/repository.class.php +++ b/repository/boxnet/repository.class.php @@ -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; -- 2.39.5