portage/update/puc.php
2021-08-01 13:32:46 -04:00

23 lines
899 B
PHP
Executable File

<?php
/**
* Plugin Update Checker Library 4.1
* http://w-shadow.com/
*
* Copyright 2017 Janis Elsts
* Released under the MIT license. See license.txt for details.
*/
require dirname(__FILE__) . '/Puc/v4/Factory.php';
require dirname(__FILE__) . '/Puc/v4p1/Autoloader.php';
new Puc_v4p1_Autoloader();
//Register classes defined in this file with the factory.
Puc_v4_Factory::addVersion('Plugin_UpdateChecker', 'Puc_v4p1_Plugin_UpdateChecker', '4.1');
Puc_v4_Factory::addVersion('Theme_UpdateChecker', 'Puc_v4p1_Theme_UpdateChecker', '4.1');
Puc_v4_Factory::addVersion('Vcs_PluginUpdateChecker', 'Puc_v4p1_Vcs_PluginUpdateChecker', '4.1');
Puc_v4_Factory::addVersion('Vcs_ThemeUpdateChecker', 'Puc_v4p1_Vcs_ThemeUpdateChecker', '4.1');
Puc_v4_Factory::addVersion('GitHubApi', 'Puc_v4p1_Vcs_GitHubApi', '4.1');
Puc_v4_Factory::addVersion('BitBucketApi', 'Puc_v4p1_Vcs_BitBucketApi', '4.1');