Generator.php
authorAlan Knowles <alan@roojs.com>
Thu, 27 Feb 2014 03:42:32 +0000 (11:42 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 27 Feb 2014 03:42:32 +0000 (11:42 +0800)
Generator.php

index 9f7ad07..7857b2a 100644 (file)
@@ -47,6 +47,12 @@ class Pman_Core_Generator extends DB_DataObject_Generator
     
     static $cli_desc = "Generate the dataobjects";
     
+    function getAuth()
+    {
+        if (!$this->cli) {
+            die("cli not set");
+        }
+    }
    
     // inherrited..
     // $tablekeys