self::blow('user_group:notice_ids:%d', $this->id);
} else {
- common_log(LOG_WARN, "Ambiguous user_group->delete(); skipping related tables.");
+ common_log(LOG_WARNING, "Ambiguous user_group->delete(); skipping related tables.");
}
parent::delete();
}
}
} catch (Exception $e) {
if (!$quiet) { print $e->getMessage() . "\n"; }
- common_log(LOG_WARN, $e->getMessage(), __FILE__);
+ common_log(LOG_WARNING, $e->getMessage(), __FILE__);
// continue on error
}
}
} else {
$user = User::getKV('nickname', $nickname);
if ($user) {
- common_log(LOG_WARN, "Copying Yammer profile info onto existing user $nickname");
+ common_log(LOG_WARNING, "Copying Yammer profile info onto existing user $nickname");
$profile = $user->getProfile();
$this->savePropertiesOn($profile, $data['options'],
array('fullname', 'homepage', 'bio', 'location'));
} else {
$local = Local_group::getKV('nickname', $nickname);
if ($local) {
- common_log(LOG_WARN, "Copying Yammer group info onto existing group $nickname");
+ common_log(LOG_WARNING, "Copying Yammer group info onto existing group $nickname");
$group = User_group::getKV('id', $local->group_id);
$this->savePropertiesOn($group, $data['options'],
array('fullname', 'description'));