Skip to content
Snippets Groups Projects
Commit b8a4bda4 authored by alvaro's avatar alvaro
Browse files

Removing options for load/remove RDF

parent 3172f7f5
No related branches found
No related tags found
No related merge requests found
...@@ -108,8 +108,8 @@ class AdminModule extends abstractModule{ ...@@ -108,8 +108,8 @@ class AdminModule extends abstractModule{
<ul class='dropdown-menu'> <ul class='dropdown-menu'>
<!--li><a href='../admin/start'>Start endpoint</a></li> <!--li><a href='../admin/start'>Start endpoint</a></li>
<li><a href='../admin/stop'>Stop 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/load'>Add RDF</a></li>
<li><a href='../admin/remove'>Remove RDF</a></li> <li><a href='../admin/remove'>Remove RDF</a></li-->
</ul> </ul>
</li> </li>
<li> <li>
...@@ -144,7 +144,7 @@ class AdminModule extends abstractModule{ ...@@ -144,7 +144,7 @@ class AdminModule extends abstractModule{
global $conf; global $conf;
//URLs used by this component. Other URLs starting with admin/* won't be considered by this module //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); $q = preg_replace('|^'.$conf['basedir'].'|', '', $localUri);
$qArr = explode('/', $q); $qArr = explode('/', $q);
if(sizeof($qArr)==0){ if(sizeof($qArr)==0){
...@@ -186,12 +186,12 @@ class AdminModule extends abstractModule{ ...@@ -186,12 +186,12 @@ class AdminModule extends abstractModule{
case "stop": case "stop":
$this->stopEndpoint(); $this->stopEndpoint();
break;*/ break;*/
case "load": /*case "load":
$this->loadRDF(); $this->loadRDF();
break; break;
case "remove": case "remove":
$this->deleteRDF(); $this->deleteRDF();
break; break;*/
case "namespaces": case "namespaces":
$this->editNamespaces(); $this->editNamespaces();
break; break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment