class Pman_Core_DatabaseColumns extends Pman {
-
+ function getAuth()
+ {
+ parent::getAuth(); // load company!
+ $au = $this->getAuthUser();
+
+ if (!$au) {
+ $this->jerr("Not authenticated", array('authFailure' => true));
+ }
+ if (!$au->pid() ) { // not set up yet..
+ $this->jerr("Not authenticated", array('authFailure' => true));
+ }
+
+
+ $this->authUser = $au;
+ return true;
+ }
}
\ No newline at end of file