You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shindig.apache.org by li...@apache.org on 2010/02/05 10:27:39 UTC

svn commit: r906870 - /shindig/trunk/php/src/gadgets/GadgetFeatureRegistry.php

Author: lindner
Date: Fri Feb  5 09:27:38 2010
New Revision: 906870

URL: http://svn.apache.org/viewvc?rev=906870&view=rev
Log:
SHINDIG-1281 | Patch from Jacky Wang | remove recursive dependencies

Modified:
    shindig/trunk/php/src/gadgets/GadgetFeatureRegistry.php

Modified: shindig/trunk/php/src/gadgets/GadgetFeatureRegistry.php
URL: http://svn.apache.org/viewvc/shindig/trunk/php/src/gadgets/GadgetFeatureRegistry.php?rev=906870&r1=906869&r2=906870&view=diff
==============================================================================
--- shindig/trunk/php/src/gadgets/GadgetFeatureRegistry.php (original)
+++ shindig/trunk/php/src/gadgets/GadgetFeatureRegistry.php Fri Feb  5 09:27:38 2010
@@ -209,7 +209,8 @@
       if ($entry == null) {
         continue;
       }
-      if (strtolower(substr($entry['name'], 0, strlen('core'))) != 'core') {
+      $featureName = strtolower(substr($entry['name'], 0, strlen('core')));
+      if ($featureName != 'core' && $featureName != 'glob') {
         $this->features[$key]['deps'] = array_merge($entry['deps'], $this->coreFeatures);
       }
     }