From: Chuck Hagenbuch Date: Sun, 30 May 2010 19:01:58 +0000 (-0400) Subject: Use interfaces instead of inheritences to autoload Thrift, to avoid restricting class... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=f7676f1b785bcd6e36ba827ca27918e760947f3c;p=horde.git Use interfaces instead of inheritences to autoload Thrift, to avoid restricting class design as much. --- diff --git a/framework/Scribe/lib/Horde/Scribe.php b/framework/Scribe/lib/Horde/Scribe.php index 1638826ea..06aa287bc 100644 --- a/framework/Scribe/lib/Horde/Scribe.php +++ b/framework/Scribe/lib/Horde/Scribe.php @@ -2,7 +2,7 @@ /** * Fake class to autoload Scribe and required Thrift classes */ -class Horde_Scribe extends Horde_Thrift +interface Horde_Scribe extends Horde_Thrift { } diff --git a/framework/Thrift/lib/Horde/Thrift.php b/framework/Thrift/lib/Horde/Thrift.php index 8e5442209..487135b89 100644 --- a/framework/Thrift/lib/Horde/Thrift.php +++ b/framework/Thrift/lib/Horde/Thrift.php @@ -2,7 +2,7 @@ /** * Fake class to autoload generated Thrift code */ -class Horde_Thrift +interface Horde_Thrift { }