Versions Compared

Key

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

...

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.0
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

...

SourceDescriptionAlternativeDeprecated SinceProposed Removal
SupportManagerDepartments::getCloseTicketIntervals

Fetching the ticket intervals from the SupportManagerDepartments model has been changed.

SupportManagerDepartments::getTicketIntervals(30)2.14.03.0

Other

SourceDescriptionAlternativeRemoved Since
inv_terms company setting keyThe inv_terms company setting key no longer exists and is replaced by language-defined invoice terms.inv_terms_en_us company setting key4.5.0