hosts bits
authorpaulr <me@pjr.cc>
Sun, 7 Aug 2011 18:35:55 +0000 (04:35 +1000)
committerpaulr <me@pjr.cc>
Sun, 7 Aug 2011 18:35:55 +0000 (04:35 +1000)
plugins/hosts.php

index a5709a5..76e3e59 100644 (file)
@@ -20,11 +20,11 @@ class GLCASHosts {
        {
                if(isset($_REQUEST["action"])) {
                        switch($_REQUEST["action"]) {
-                               case "addpackage":
+                               case "addhost":
                                        error_log("in updaterepo");
                                        GLCASpageBuilder($this,"addPackage");
                                        return;
-                               case "deletepkg":
+                               case "delhost":
                                        error_log("in delete pkg");
                                        GLCASpageBuilder($this, "delPackage");
                                        return;