From f7676f1b785bcd6e36ba827ca27918e760947f3c Mon Sep 17 00:00:00 2001 From: Chuck Hagenbuch Date: Sun, 30 May 2010 15:01:58 -0400 Subject: [PATCH] Use interfaces instead of inheritences to autoload Thrift, to avoid restricting class design as much. --- framework/Scribe/lib/Horde/Scribe.php | 2 +- framework/Thrift/lib/Horde/Thrift.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 { } -- 2.11.0