]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
authorBrion Vibber <brion@pobox.com>
Mon, 7 Jun 2010 17:19:40 +0000 (10:19 -0700)
committerBrion Vibber <brion@pobox.com>
Mon, 7 Jun 2010 17:19:40 +0000 (10:19 -0700)
Conflicts:
plugins/OpenID/openid.php

1  2 
actions/apistatusesdestroy.php
classes/Notice.php
lib/language.php
lib/util.php
plugins/OpenID/openid.php
plugins/OpenID/openidlogin.php

Simple merge
Simple merge
index 5a2818133d6979e7fa8e903323851b2549cb3d2a,cb12cca69220711e871bae7ef3db34b0afeda7f8..1805707ad5549f80199b3b6fce0be67f5f0ae58f
@@@ -218,10 -221,9 +222,10 @@@ function _mdomain($backtrace
              } else {
                  // We might be running directly from the plugins dir?
                  // If so, there's no place to store locale info.
-                 return null;
+                 return 'statusnet';
              }
          }
 +        $cached[$path] = $final;
      }
      return $cached[$path];
  }
diff --cc lib/util.php
Simple merge
index 68851f4eb9fe0b3705333827e1be3e60350ffeb8,8be02e031caef4ee1e969b6f822db0bc68e00245..4ce350f7737a56d0480e6440d4e1f9a6ef0a0148
@@@ -145,11 -144,10 +145,13 @@@ function oid_authenticate($openid_url, 
  
      // Handle failure status return values.
      if (!$auth_request) {
+         common_log(LOG_ERR, __METHOD__ . ": mystery fail contacting $openid_url");
 +        // TRANS: OpenID plugin message. Given when an OpenID is not valid.
          return _m('Not a valid OpenID.');
      } else if (Auth_OpenID::isFailure($auth_request)) {
+         common_log(LOG_ERR, __METHOD__ . ": OpenID fail to $openid_url: $auth_request->message");
 +        // TRANS: OpenID plugin server error. Given when the OpenID authentication request fails.
 +        // TRANS: %s is the failure message.
          return sprintf(_m('OpenID failure: %s'), $auth_request->message);
      }
  
Simple merge