Пример #1
0
 /**
  * 
  * When a user is created, updated or logs in this function will be called.
  * The function can check if the default calendar, addressbook, notebook etc.
  * is created for this user.
  * 
  */
 public static function firstRun()
 {
     parent::firstRun();
     $category = self::getDefaultNoteCategory(GO::user()->id);
     return array('exportVariables' => array('GO' => array("notes" => array("defaultCategory" => array('id' => $category->id, 'name' => $category->name)))));
 }
Пример #2
0
 /**
  * When a user is created, updated or logs in this function will be called.
  * The function can check if the default calendar, addressbook, notebook etc.
  * is created for this user.
  * 
  */
 public static function firstRun()
 {
     parent::firstRun();
 }