original_string: function ExecuteSql()
      {
          $versionCompare = version_compare($this->installedVersion, $this->manifest->Version());
         
          if ($versionCompare > 0)
          {
              $bundle = $this->manifest->BundleName();
              throw new \Exception("Error instaling bundle $bundle: Previously installed version is greater than curren code version. Please re-install the bundle.");
          }
          else if ($versionCompare === 0)
          {
              return;
          }
          $engineFolder = $this->FindEngineFolder();
          if (!$engineFolder)
          {
              return;
          }
          $this->ExecuteScripts($engineFolder);       
      }
code: function ExecuteSql()
      {
          $versionCompare = version_compare($this->installedVersion, $this->manifest->Version());
         
          if ($versionCompare > 0)
          {
              $bundle = $this->manifest->BundleName();
              throw new \Exception("Error instaling bundle $bundle: Previously installed version is greater than curren code version. Please re-install the bundle.");
          }
          else if ($versionCompare === 0)
          {
              return;
          }
          $engineFolder = $this->FindEngineFolder();
          if (!$engineFolder)
          {
              return;
          }
          $this->ExecuteScripts($engineFolder);       
      }
code_tokens: function ExecuteSql ( ) { $ versionCompare = version_compare ( $ this -> installedVersion , $ this -> manifest -> Version ( ) ) ; if ( $ versionCompare > 0 ) { $ bundle = $ this -> manifest -> BundleName ( ) ; throw new \ Exception ( "Error instaling bundle $bundle: Previously installed version is greater than curren code version. Please re-install the bundle." ) ; } else if ( $ versionCompare === 0 ) { return ; } $ engineFolder = $ this -> FindEngineFolder ( ) ; if ( ! $ engineFolder ) { return ; } $ this -> ExecuteScripts ( $ engineFolder ) ; }
docstring: Executes all necessary sql scripts
docstring_tokens: Executes all necessary sql scripts