Commit ba481d1e authored by mmn's avatar mmn

LOG_WARNING, not LOG_WARN

parent 48da97f2
......@@ -740,7 +740,7 @@ class User_group extends Managed_DataObject
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();
}
......
......@@ -319,7 +319,7 @@ while($lop->fetch()) {
}
} 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
}
}
......
......@@ -49,7 +49,7 @@ class YammerImporter
} 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'));
......@@ -86,7 +86,7 @@ class YammerImporter
} 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'));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment