Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SourceDescriptionAlternativeDeprecated SinceProposed Removal
Coupons::getTypesCoupon types are not used by the system.
4.1.05.0
Coupons::validateTypeCoupon types are not used by the system.
4.1.05.0
Coupons::validateInclusiveRecurringCoupon types are not used by the system.
4.1.05.0
CronTasks::deleteMethod arguments have changed, so a new replacement method exists.CronTasks::deleteTask4.3.05.0
CronTasks::validateKeyUniqueThe method provides no beneficial use.
4.3.05.0
CronTasks::validateTaskTypeThe method provides no beneficial use.
4.3.05.0
Invoices::makeLinesFromItemsThis logic has been abstracted to a different library.Blesta\Core\Pricing\ libraries4.1.05.0
Invoices::getItemTotalsThis logic has been abstracted to a different library.Blesta\Core\Pricing\ libraries4.0.05.0
Invoices::calcLineTotalsThis logic has been abstracted to a different library.Blesta\Core\Pricing\ libraries4.6.05.0
Logs::getCronListThe plugin_dir property of each retrieved object is deprecated since it is no longer sufficient.Use the dir property along with the task_type property4.3.05.0
Logs::getLatestCronThe plugin_dir property of the retrieved object is deprecated since it is no longer sufficient.Use the dir property along with the task_type property4.3.05.0
Logs::getRunningCronTasksThe plugin_dir property of each retrieved object is deprecated since it is no longer sufficient.Use the dir property along with the task_type property4.3.05.0
PackageGroups::add argument data

Some associative keys passed to the first argument of PackageGroups::add have been deprecated.

The first argument to PackageGroups::add is an array of $vars. The keys 'name' and 'description' have been deprecated (i.e. $vars['name'] and $vars['description']).

Pass values for $vars['names'] and $vars['descriptions'] instead4.5.05.0
PackageGroups::edit argument data

Some associative keys passed to the first argument of PackageGroups::edit have been deprecated.

The first argument to PackageGroups::edit is an array of $vars. The keys 'name' and 'description' have been deprecated (i.e. $vars['name'] and $vars['description']).

Pass values for $vars['names'] and $vars['descriptions'] instead4.5.05.0
Packages::add argument data

Some associative keys passed to the first argument of Packages::add have been deprecated.

The first argument to Packages::add is an array of $vars. The keys 'name', 'description', and 'description_html' have been deprecated (i.e. $vars['name'], $vars['description'], and $vars['description_html']).

Pass values for $vars['names'] and $vars['descriptions'] instead4.5.05.0
Packages::calcLineTotalsThis logic has been abstracted to a different library.Blesta\Core\Pricing\ libraries4.6.05.0
Packages::edit argument data

Some associative keys passed to the first argument of Packages::edit have been deprecated.

The first argument to Packages::edit is an array of $vars. The keys 'name', 'description', and 'description_html' have been deprecated (i.e. $vars['name'], $vars['description'], and $vars['description_html']).

Pass values for $vars['names'] and $vars['descriptions'] instead4.5.05.0
Packages::getPackageItemsThis logic has been abstracted to a different library.Blesta\Core\Pricing\ libraries4.6.05.0
PluginManager::invokeEventsThe event system has changed and this method does not support the new EventInterface for invoking plugin events.

PluginManager::triggerEvents

Note: this should not be called via the API

4.3.05.0
ServiceChanges::getItemsThe items are retrieved using the deprecated PricingPresenter component library.

ServiceChanges::getPresenter

Note: this should not be called via the API as it will return an empty object

4.05.0
Services::edit argument data

An associative key passed to the second argument of Services::edit has been deprecated.

The second argument to Services::edit is an array of $vars. The key 'prorate' has been deprecated (i.e. $vars['prorate']).


4.0.0TBD5.0
Services::getItemsFromDataThe items are retrieved using the deprecated PricingPresenter component library.

Services::getDataPresenter

Note: this should not be called via the API as it will return an empty object

4.0.05.0
Staff::deleteDeleting a staff member may cause other data relying on a deleted staff member to become corrupt.Use Staff::edit to change the staff member's status to 'inactive'4.1.0TBD

...

SourceDescriptionAlternativeDeprecated SinceProposed Removal
Events

The Events system has been refactored, therefore the Events component library in its entirety, including EventObject, and all Event_*_Callback classes, are deprecated.

This affects the Events object available in all classes inheriting from AppController and AppModel via $this->Events.

Blesta\Core\Util\Events\ library4.3.05.0
JsonThe Json component provided support for JSON-encoding in older versions of php that no longer meet minimum system requirements.Use php's json_encode and json_decode functions4.5.05.0
NetGeoIp::__construct argument data

The first argument to NetGeoIp::__construct is the path to a $database_file. This file is the path to the GeoIP v1 database file, but since the GeoIP v1 database has been discontinued, it is no longer recommended to pass this argument (it is now optional).

The new GeoIP v2 database file will be used, if available (provided you do not pass this argument), if found in the system upload directory as defined in Blesta under Settings > System > General > GeoIP Settings.


4.5.05.0
PricingPresenterPricing has been refactored, therefore the PricingPresenter component library is deprecated.Blesta\Core\Pricing\ libraries4.0.05.0
ReportType InterfaceThe interface has changed for all report classes, and the ReportType interface is no longer used.ReportInterface4.3.05.0
SessionThe Session component has been replaced by Minphp\Session\SessionMinphp\Session\Session4.6.05.0TBD
VCard::create argument data

Some associative keys passed to the first argument of VCard::create have been deprecated.

The first argument to VCard::create is an array of $data. The keys 'email1' and 'office_tel' have been deprecated (i.e. $data['email1'] and $data['office_tel']).

Pass values for $data['email'] and $data['work_tel'] instead4.5.05.0

...