[RSS Feed/News] Upgrading Add-on unconditionally updates JavaScript Timestamp

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
When upgrading an Add-on, jsLastUpdate which is used to calculated the JavaScript cache buster is unconditionally updated after importing Add-on Data in XF\AddOn\AddOn:postDataImport().

PHP:

Code:
public function postDataImport()
{
    // all data will be imported, re-enable this so postX methods will have access to their methods
    $installed = $this->installedAddOn;
    if (!$installed)
    {
        throw new \LogicException("Add-on is not installed");
    }...

Read more

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom