Author: chabotc
Date: Mon Jan 5 05:41:55 2009
New Revision: 731567
URL: http://svn.apache.org/viewvc?rev=731567&view=rev
Log:
SHINDIG-815 by Jerome Gangneux - missing NEW statement for 2 exceptions
Modified:
incubator/shindig/trunk/php/src/social/oauth/OAuth.php
Modified: incubator/shindig/trunk/php/src/social/oauth/OAuth.php
URL:
http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/social/oauth/OAuth.php?rev=731567&r1=731566&r2=731567&view=diff
==============================================================================
--- incubator/shindig/trunk/php/src/social/oauth/OAuth.php (original)
+++ incubator/shindig/trunk/php/src/social/oauth/OAuth.php Mon Jan 5 05:41:55
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) {