kazvorpal / oauth

Automatically exported from code.google.com/p/oauth
0 stars 0 forks source link

OAuthException crashes with class in pecl oauth #157

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install oauth pecl module
2. Run example/index.php

Suggest that exception class is renamed to OAuthPhpException or something
similar so users can can have both projects installed on their server.

Original issue reported on code.google.com by andre.ro...@gmail.com on 20 Apr 2010 at 9:49

GoogleCodeExporter commented 9 years ago

Original comment by morten.f...@gmail.com on 7 May 2010 at 3:26

GoogleCodeExporter commented 9 years ago
Could someone with commit capability please fix this. Either change the class 
name as suggested above or check if it is already declared as below.

if (!class_exists('OAuthException')) {
  class OAuthException extends Exception {
  // pass
  }
}

Original comment by johnzor...@gmail.com on 2 Nov 2012 at 5:23