We will never be requesting prototye.js in this function.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 31 Jul 2009 21:51:16 +0000 (17:51 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 31 Jul 2009 21:51:16 +0000 (17:51 -0400)
framework/Core/lib/Horde/Script/Files.php

index aeb75cb..821ef83 100644 (file)
@@ -91,7 +91,7 @@ class Horde_Script_Files
         $this->_included[$app][$url] = true;
 
         // Always add prototype.js.
-        if (empty($this->_files) && ($file != 'prototype.js')) {
+        if (empty($this->_files)) {
             $this->add('prototype.js', 'horde', true);
         }