You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by ch...@apache.org on 2009/01/05 14:42:04 UTC
svn commit: r731568 -
/incubator/shindig/branches/1.0.x-incubating/php/src/social/oauth/OAuth.php
Author: chabotc
Date: Mon Jan 5 05:42:04 2009
New Revision: 731568
URL: http://svn.apache.org/viewvc?rev=731568&view=rev
Log:
SHINDIG-815 by Jerome Gangneux - missing NEW statement for 2 exceptions
Modified:
incubator/shindig/branches/1.0.x-incubating/php/src/social/oauth/OAuth.php
Modified: incubator/shindig/branches/1.0.x-incubating/php/src/social/oauth/OAuth.php
URL: http://svn.apache.org/viewvc/incubator/shindig/branches/1.0.x-incubating/php/src/social/oauth/OAuth.php?rev=731568&r1=731567&r2=731568&view=diff
==============================================================================
--- incubator/shindig/branches/1.0.x-incubating/php/src/social/oauth/OAuth.php (original)
+++ incubator/shindig/branches/1.0.x-incubating/php/src/social/oauth/OAuth.php Mon Jan 5 05:42:04 2009
@@ -128,7 +128,7 @@
// (3) some sort of specific discovery code based on request
//
// either way should return a string representation of the certificate
- throw Exception("fetch_public_cert not implemented");
+ throw new Exception("fetch_public_cert not implemented");
}
protected function fetch_private_cert(&$request) {
@@ -136,7 +136,7 @@
// (1) do a lookup in a table of trusted certs keyed off of consumer
//
// either way should return a string representation of the certificate
- throw Exception("fetch_private_cert not implemented");
+ throw new Exception("fetch_private_cert not implemented");
}
public function build_signature(&$request, $consumer, $token) {