From b8a4bda40d536180956d7739e4c42042a7f94531 Mon Sep 17 00:00:00 2001
From: alvaro <alvaro@alia.(none)>
Date: Sun, 21 Oct 2012 04:04:59 -0700
Subject: [PATCH] Removing options for load/remove RDF

---
 classes/modules/adminModule.php | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/classes/modules/adminModule.php b/classes/modules/adminModule.php
index c48d4543..dd6b5cd5 100644
--- a/classes/modules/adminModule.php
+++ b/classes/modules/adminModule.php
@@ -108,8 +108,8 @@ class AdminModule extends abstractModule{
                <ul class='dropdown-menu'>
               <!--li><a href='../admin/start'>Start endpoint</a></li>
               <li><a href='../admin/stop'>Stop endpoint</a></li-->
-              <li><a href='../admin/load'>Add RDF</a></li>
-              <li><a href='../admin/remove'>Remove RDF</a></li>
+              <!--li><a href='../admin/load'>Add RDF</a></li>
+              <li><a href='../admin/remove'>Remove RDF</a></li-->
                </ul>
               </li>
               <li>
@@ -144,7 +144,7 @@ class AdminModule extends abstractModule{
     global $conf;
     //URLs used by this component. Other URLs starting with admin/* won't be considered by this module
     
-    $operations = array("menu", "load", "remove", "endpoints", "namespaces", "components", "");
+    $operations = array("menu", /*"load", "remove",*/ "endpoints", "namespaces", "components", "");
   	$q = preg_replace('|^'.$conf['basedir'].'|', '', $localUri);
   	$qArr = explode('/', $q);
   	if(sizeof($qArr)==0){
@@ -186,12 +186,12 @@ class AdminModule extends abstractModule{
   	case "stop":
   	  $this->stopEndpoint();
   	  break;*/
-  	case "load":
+  	/*case "load":
   	  $this->loadRDF();
   	  break;
   	case "remove":
   	  $this->deleteRDF();
-  	  break;
+  	  break;*/
   	case "namespaces":
   	  $this->editNamespaces();
   	  break;
-- 
GitLab