<dd><a href="https://pluginstore.woltlab.com/file/{$pluginStoreFileID}/" class="externalURL">{lang}wcf.acp.pluginStore.file.link{/lang}</a></dd>
</dl>
{/if}
- {if $package->packageID != 1}
- <dl>
- <dt>{lang}wcf.acp.package.apiVersions{/lang}</dt>
- <dd>
- {if $compatibleVersions|empty}
- <small>{lang}wcf.acp.package.apiVersions.missing{/lang}</small>
- {else}
- {implode from=$compatibleVersions item=version glue=', '}{$version}{/implode}
- {/if}
- </dd>
- </dl>
- {/if}
{event name='propertyFields'}
</div>
public $activeMenuItem = 'wcf.acp.menu.link.package';
/**
- * list of compatible API versions
- * @var int[]
+ * @deprecated 5.5 This array is always empty.
*/
public $compatibleVersions = [];
$statement = WCF::getDB()->prepareStatement($sql);
$statement->execute([$this->package->package]);
$this->pluginStoreFileID = \intval($statement->fetchSingleColumn());
-
- $sql = "SELECT version
- FROM wcf" . WCF_N . "_package_compatibility
- WHERE packageID = ?
- AND version >= ?
- ORDER BY version";
- $statement = WCF::getDB()->prepareStatement($sql);
- $statement->execute([
- $this->package->packageID,
- WSC_API_VERSION,
- ]);
- while ($version = $statement->fetchColumn()) {
- $this->compatibleVersions[] = $version;
- }
}
/**