DataObjects/Office.php
authoredward <edward@roojs.com>
Wed, 20 Jul 2016 07:01:27 +0000 (15:01 +0800)
committeredward <edward@roojs.com>
Wed, 20 Jul 2016 07:01:27 +0000 (15:01 +0800)
DataObjects/Office.php

index d4edac9..1b5c4e7 100644 (file)
@@ -53,10 +53,7 @@ class Pman_Core_DataObjects_Office extends DB_DataObject
     
     function beforeDelete($dependants_array, $roo)
     {
-        print_R(count($dependants_array));
-        print_R('run?>>>');exit;
         if (count($dependants_array) != 1) {
-            //$roo->jerr("more than one dependant type....");
             return true; // standard error message.
         }