X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=VerifyAccess.php;fp=VerifyAccess.php;h=6d4a2e284c1ea574632e9910007c8cec47b92fa7;hb=bfbc0b7448f5066212e8e0da8d62bc60f2b26f1b;hp=554443262a3b85701abc9537d665a2555e00d259;hpb=53aa4c17a21a41c8b76f468758f976578a802d31;p=Pman.Core diff --git a/VerifyAccess.php b/VerifyAccess.php index 55444326..6d4a2e28 100644 --- a/VerifyAccess.php +++ b/VerifyAccess.php @@ -47,15 +47,6 @@ class Pman_Core_VerifyAccess extends Pman } function post() - { - if(!empty($_REQUEST['_to_data'])){ - $this->toData(); - } - - - } - - function toData() { $core_ip_access = DB_DataObject::factory('core_ip_access'); @@ -68,8 +59,14 @@ class Pman_Core_VerifyAccess extends Pman $this->jerr('Invalid URL'); } - $this->jdata($core_ip_access->toArray()); + if(!empty($_REQUEST['_to_data'])){ + $this->jdata($core_ip_access->toArray()); + } + + + } + }