UpdateDatabase.php
authorEdward <edward@roojs.com>
Wed, 22 May 2013 11:18:55 +0000 (19:18 +0800)
committerEdward <edward@roojs.com>
Wed, 22 May 2013 11:18:55 +0000 (19:18 +0800)
UpdateDatabase.php

index 7f5067b..563b0d0 100644 (file)
@@ -104,6 +104,8 @@ class Pman_Core_UpdateDatabase extends Pman
                 die("Missing company name or type! Try --name [the name of company] -- comptype [the type of company] \n");
             }
             
+            DB_DataObject::factory('companies')->initCompanies($opt['name'], $opt['comptype']);
+            
             die("DONE! \n");
         }