RSS Feed/News Why doesn't XF call enqueuePostUpgradeCleanUp automatically?

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,780
Points
823

Reputation:

Referring to the new automatic file cleanup feature in XF 2.3, the announcement says the following:

Developers who wish to trigger an automatic clean up of their own files, can do so by calling the following from within their add-on Setup class in the postUpgrade method:​
PHP:

$this->enqueuePostUpgradeCleanUp();
My question is - under what circumstances would you not want to run this?

Is there a reason why I shouldn't just add this to every...

Read more

Continue reading...
 
Status
Not open for further replies.
Top