LOG_WARNING, not LOG_WARN
This commit is contained in:
parent
48da97f204
commit
ba481d1e31
|
@ -740,7 +740,7 @@ class User_group extends Managed_DataObject
|
||||||
self::blow('user_group:notice_ids:%d', $this->id);
|
self::blow('user_group:notice_ids:%d', $this->id);
|
||||||
|
|
||||||
} else {
|
} 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();
|
parent::delete();
|
||||||
}
|
}
|
||||||
|
|
|
@ -319,7 +319,7 @@ while($lop->fetch()) {
|
||||||
}
|
}
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
if (!$quiet) { print $e->getMessage() . "\n"; }
|
if (!$quiet) { print $e->getMessage() . "\n"; }
|
||||||
common_log(LOG_WARN, $e->getMessage(), __FILE__);
|
common_log(LOG_WARNING, $e->getMessage(), __FILE__);
|
||||||
// continue on error
|
// continue on error
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,7 @@ class YammerImporter
|
||||||
} else {
|
} else {
|
||||||
$user = User::getKV('nickname', $nickname);
|
$user = User::getKV('nickname', $nickname);
|
||||||
if ($user) {
|
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();
|
$profile = $user->getProfile();
|
||||||
$this->savePropertiesOn($profile, $data['options'],
|
$this->savePropertiesOn($profile, $data['options'],
|
||||||
array('fullname', 'homepage', 'bio', 'location'));
|
array('fullname', 'homepage', 'bio', 'location'));
|
||||||
|
@ -86,7 +86,7 @@ class YammerImporter
|
||||||
} else {
|
} else {
|
||||||
$local = Local_group::getKV('nickname', $nickname);
|
$local = Local_group::getKV('nickname', $nickname);
|
||||||
if ($local) {
|
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);
|
$group = User_group::getKV('id', $local->group_id);
|
||||||
$this->savePropertiesOn($group, $data['options'],
|
$this->savePropertiesOn($group, $data['options'],
|
||||||
array('fullname', 'description'));
|
array('fullname', 'description'));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user