Skip to content

Commit 8b809c9

Browse files
committed
Make plugin compatible with hirak/prestissimo
References: - PhilippBaschke/acf-pro-installer#20 - ffraenz/private-composer-installer@fcc2195 Resolves #1, junaidbhura#14
1 parent 5918271 commit 8b809c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Installer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public static function getSubscribedEvents() {
5252
return array(
5353
PackageEvents::PRE_PACKAGE_INSTALL => 'getDownloadUrl',
5454
PackageEvents::PRE_PACKAGE_UPDATE => 'getDownloadUrl',
55-
PluginEvents::PRE_FILE_DOWNLOAD => 'onPreFileDownload',
55+
PluginEvents::PRE_FILE_DOWNLOAD => array('onPreFileDownload', -1),
5656
);
5757
}
5858

0 commit comments

Comments
 (0)