Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into mmn_fixes
This commit is contained in:
commit
59d3bbe037
|
@ -822,6 +822,7 @@ class Profile extends Managed_DataObject
|
|||
|
||||
$notices = new Notice();
|
||||
$notices->profile_id = $this->id;
|
||||
$notices->verb = ActivityVerb::POST;
|
||||
$cnt = (int) $notices->count('distinct id');
|
||||
|
||||
if (!empty($c)) {
|
||||
|
|
|
@ -414,7 +414,7 @@ class OpenIDPlugin extends Plugin
|
|||
*/
|
||||
function onRedirectToLogin($action, $user)
|
||||
{
|
||||
if (common_config('site', 'openid_only') || (!empty($user) && User_openid::hasOpenID($user->id))) {
|
||||
if (common_config('site', 'openidonly') || (!empty($user) && User_openid::hasOpenID($user->id))) {
|
||||
common_redirect(common_local_url('openidlogin'), 303);
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user