Jump to content

Deprecated Functions... Modul-Upgrade


Recommended Posts

I have upgrade Prestashop from 1.5.2 to 1.5.3.1, and no xdebug show me some "Warnings about deprecated Function.

 

 Function addCSS() is deprecated in....../modules/blockbestsellers2/blockbestsellers2.php on line 132
in ...../classes/Tools.php on line 1777

 

So it seems, i found the reason of this message here http://forge.prestashop.com/browse/PSCFV-2593

 

But the question fo me is: Which is the general way to keep Modules up-to-date?

The Area "Search for module and themes" seems only to search in commercial Modules.

 

In Typo3 the Extension-Manager has a "search for Upgrade"-Button for each module. Whats the way to get upgrades for Modules in presta?

 

 

Actually i need Module /blockbestsellers2 and sendtoafriend2

Link to comment
Share on other sites

I have now do a grep on the Server, which Modules are affected by this change:

 

 

grep -ir "Tools::addCss" ./modules/*

 

authorizeaim/backward_compatibility/Context.php:                Tools::addCSS($css_uri, $css_media_type);
avalaratax/backward_compatibility/Context.php:          Tools::addCSS($css_uri, $css_media_type);
blockbestsellers2/blockbestsellers2.php:                Tools::addCSS(($this->_path).'blockbestsellers.css', 'all');
blocklayered/blocklayered.php:                  Tools::addCSS(_PS_CSS_DIR_.'jquery-ui-1.8.10.custom.css', 'all');
blocklayered/blocklayered.php:                  Tools::addCSS(($this->_path).'blocklayered.css', 'all');
buyster/backward_compatibility/Context.php:             Tools::addCSS($css_uri, $css_media_type);
canadapost/backward_compatibility/Context.php:          Tools::addCSS($css_uri, $css_media_type);
cloudcache/backward_compatibility/Context.php:          Tools::addCSS($css_uri, $css_media_type);
dibs/backward_compatibility/Context.php:                Tools::addCSS($css_uri, $css_media_type);
ebay/backward_compatibility/Context.php:                Tools::addCSS($css_uri, $css_media_type);
fedexcarrier/backward_compatibility/Context.php:                Tools::addCSS($css_uri, $css_media_type);
gadsense/backward_compatibility/Context.php:            Tools::addCSS($css_uri, $css_media_type);
ganalytics/backward_compatibility/Context.php:          Tools::addCSS($css_uri, $css_media_type);
gcheckout/backward_compatibility/Context.php:           Tools::addCSS($css_uri, $css_media_type);
hipay/backward_compatibility/Context.php:               Tools::addCSS($css_uri, $css_media_type);
jirafe/backward_compatibility/Context.php:              Tools::addCSS($css_uri, $css_media_type);
mailjet/backward_compatibility/Context.php:             Tools::addCSS($css_uri, $css_media_type);
mondialrelay/backward_compatibility/Context.php:                Tools::addCSS($css_uri, $css_media_type);
paypal/backward_compatibility/Context.php:              Tools::addCSS($css_uri, $css_media_type);
paypal/paypal.php:                      Tools::addCSS(_MODULE_DIR_.$this->name.'/css/paypal.css');
paysafecard/backward_compatibility/Context.php:         Tools::addCSS($css_uri, $css_media_type);
referralprogram/referralprogram-program.php:Tools::addCSS(_PS_CSS_DIR_.'thickbox.css', 'all');
sendtoafriend2/sendtoafriend2.php:              Tools::addCSS(($this->_path).'sendtoafriend.css', 'all');
shipwire/backward_compatibility/Context.php:            Tools::addCSS($css_uri, $css_media_type);
socolissimo/backward_compatibility/Context.php:         Tools::addCSS($css_uri, $css_media_type);
themeinstallator/backward_compatibility/Context.php:            Tools::addCSS($css_uri, $css_media_type);
trustedshops/backward_compatibility/Context.php:                Tools::addCSS($css_uri, $css_media_type);
upscarrier/backward_compatibility/Context.php:          Tools::addCSS($css_uri, $css_media_type);
uspscarrier/backward_compatibility/Context.php:         Tools::addCSS($css_uri, $css_media_type);

Link to comment
Share on other sites

  • 6 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...