Skip to content

Commit

Permalink
Rename Installation class to Activation
Browse files Browse the repository at this point in the history
  • Loading branch information
TorbenLundsgaard committed Sep 20, 2023
1 parent 8ce1327 commit 1b1e1fd
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 56 deletions.
4 changes: 2 additions & 2 deletions inc/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
use TLA_Media\GTM_Kit\Frontend\Frontend;
use TLA_Media\GTM_Kit\Frontend\UserData;
use TLA_Media\GTM_Kit\Admin\GeneralOptionsPage;
use TLA_Media\GTM_Kit\Installation\Installation;
use TLA_Media\GTM_Kit\Installation\Activation;
use TLA_Media\GTM_Kit\Installation\Upgrade;
use TLA_Media\GTM_Kit\Integration\ContactForm7;
use TLA_Media\GTM_Kit\Integration\EasyDigitalDownloads;
Expand All @@ -38,7 +38,7 @@
* Plugin activation hook.
*/
function gtmkit_plugin_activation(): void {
new Installation();
new Activation();
do_action( 'gtmkit_activate' );
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
use TLA_Media\GTM_Kit\Options;

/**
* Installation
* Activation
*/
final class Installation {
final class Activation {

/**
* Checks if GTM Kit is installed for the first time.
Expand Down
50 changes: 25 additions & 25 deletions vendor/composer/autoload_classmap.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,29 @@
$baseDir = dirname($vendorDir);

return array(
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
'TLA_Media\\GTM_Kit\\Admin\\AbstractOptionsPage' => $baseDir . '/src/Admin/AbstractOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\Analytics' => $baseDir . '/src/Admin/Analytics.php',
'TLA_Media\\GTM_Kit\\Admin\\GeneralOptionsPage' => $baseDir . '/src/Admin/GeneralOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\HelpOptionsPage' => $baseDir . '/src/Admin/HelpOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\IntegrationsOptionsPage' => $baseDir . '/src/Admin/IntegrationsOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\MetaBox' => $baseDir . '/src/Admin/MetaBox.php',
'TLA_Media\\GTM_Kit\\Admin\\OptionTab' => $baseDir . '/src/Admin/OptionTab.php',
'TLA_Media\\GTM_Kit\\Admin\\OptionTabs' => $baseDir . '/src/Admin/OptionTabs.php',
'TLA_Media\\GTM_Kit\\Admin\\OptionsForm' => $baseDir . '/src/Admin/OptionsForm.php',
'TLA_Media\\GTM_Kit\\Admin\\SetupWizard' => $baseDir . '/src/Admin/SetupWizard.php',
'TLA_Media\\GTM_Kit\\Common\\RestAPIServer' => $baseDir . '/src/Common/RestAPIServer.php',
'TLA_Media\\GTM_Kit\\Common\\Util' => $baseDir . '/src/Common/Util.php',
'TLA_Media\\GTM_Kit\\Frontend\\BasicDatalayerData' => $baseDir . '/src/Frontend/BasicDatalayerData.php',
'TLA_Media\\GTM_Kit\\Frontend\\Frontend' => $baseDir . '/src/Frontend/Frontend.php',
'TLA_Media\\GTM_Kit\\Frontend\\UserData' => $baseDir . '/src/Frontend/UserData.php',
'TLA_Media\\GTM_Kit\\Installation\\Installation' => $baseDir . '/src/Installation/Installation.php',
'TLA_Media\\GTM_Kit\\Installation\\PluginDataImport' => $baseDir . '/src/Installation/PluginDataImport.php',
'TLA_Media\\GTM_Kit\\Installation\\Upgrade' => $baseDir . '/src/Installation/Upgrade.php',
'TLA_Media\\GTM_Kit\\Integration\\AbstractEcommerce' => $baseDir . '/src/Integration/AbstractEcommerce.php',
'TLA_Media\\GTM_Kit\\Integration\\AbstractIntegration' => $baseDir . '/src/Integration/AbstractIntegration.php',
'TLA_Media\\GTM_Kit\\Integration\\ContactForm7' => $baseDir . '/src/Integration/ContactForm7.php',
'TLA_Media\\GTM_Kit\\Integration\\EasyDigitalDownloads' => $baseDir . '/src/Integration/EasyDigitalDownloads.php',
'TLA_Media\\GTM_Kit\\Integration\\WooCommerce' => $baseDir . '/src/Integration/WooCommerce.php',
'TLA_Media\\GTM_Kit\\Options' => $baseDir . '/src/Options.php',
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
'TLA_Media\\GTM_Kit\\Admin\\AbstractOptionsPage' => $baseDir . '/src/Admin/AbstractOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\Analytics' => $baseDir . '/src/Admin/Analytics.php',
'TLA_Media\\GTM_Kit\\Admin\\GeneralOptionsPage' => $baseDir . '/src/Admin/GeneralOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\HelpOptionsPage' => $baseDir . '/src/Admin/HelpOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\IntegrationsOptionsPage' => $baseDir . '/src/Admin/IntegrationsOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\MetaBox' => $baseDir . '/src/Admin/MetaBox.php',
'TLA_Media\\GTM_Kit\\Admin\\OptionTab' => $baseDir . '/src/Admin/OptionTab.php',
'TLA_Media\\GTM_Kit\\Admin\\OptionTabs' => $baseDir . '/src/Admin/OptionTabs.php',
'TLA_Media\\GTM_Kit\\Admin\\OptionsForm' => $baseDir . '/src/Admin/OptionsForm.php',
'TLA_Media\\GTM_Kit\\Admin\\SetupWizard' => $baseDir . '/src/Admin/SetupWizard.php',
'TLA_Media\\GTM_Kit\\Common\\RestAPIServer' => $baseDir . '/src/Common/RestAPIServer.php',
'TLA_Media\\GTM_Kit\\Common\\Util' => $baseDir . '/src/Common/Util.php',
'TLA_Media\\GTM_Kit\\Frontend\\BasicDatalayerData' => $baseDir . '/src/Frontend/BasicDatalayerData.php',
'TLA_Media\\GTM_Kit\\Frontend\\Frontend' => $baseDir . '/src/Frontend/Frontend.php',
'TLA_Media\\GTM_Kit\\Frontend\\UserData' => $baseDir . '/src/Frontend/UserData.php',
'TLA_Media\\GTM_Kit\\Installation\\Activation' => $baseDir . '/src/Installation/Installation.php',
'TLA_Media\\GTM_Kit\\Installation\\PluginDataImport' => $baseDir . '/src/Installation/PluginDataImport.php',
'TLA_Media\\GTM_Kit\\Installation\\Upgrade' => $baseDir . '/src/Installation/Upgrade.php',
'TLA_Media\\GTM_Kit\\Integration\\AbstractEcommerce' => $baseDir . '/src/Integration/AbstractEcommerce.php',
'TLA_Media\\GTM_Kit\\Integration\\AbstractIntegration' => $baseDir . '/src/Integration/AbstractIntegration.php',
'TLA_Media\\GTM_Kit\\Integration\\ContactForm7' => $baseDir . '/src/Integration/ContactForm7.php',
'TLA_Media\\GTM_Kit\\Integration\\EasyDigitalDownloads' => $baseDir . '/src/Integration/EasyDigitalDownloads.php',
'TLA_Media\\GTM_Kit\\Integration\\WooCommerce' => $baseDir . '/src/Integration/WooCommerce.php',
'TLA_Media\\GTM_Kit\\Options' => $baseDir . '/src/Options.php',
);
54 changes: 27 additions & 27 deletions vendor/composer/autoload_static.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,45 @@
class ComposerStaticInit3b585b55966a016a3d1b071eb261592a
{
public static $prefixLengthsPsr4 = array (
'T' =>
'T' =>
array (
'TLA_Media\\GTM_Kit\\' => 18,
),
);

public static $prefixDirsPsr4 = array (
'TLA_Media\\GTM_Kit\\' =>
'TLA_Media\\GTM_Kit\\' =>
array (
0 => __DIR__ . '/../..' . '/src',
),
);

public static $classMap = array (
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
'TLA_Media\\GTM_Kit\\Admin\\AbstractOptionsPage' => __DIR__ . '/../..' . '/src/Admin/AbstractOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\Analytics' => __DIR__ . '/../..' . '/src/Admin/Analytics.php',
'TLA_Media\\GTM_Kit\\Admin\\GeneralOptionsPage' => __DIR__ . '/../..' . '/src/Admin/GeneralOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\HelpOptionsPage' => __DIR__ . '/../..' . '/src/Admin/HelpOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\IntegrationsOptionsPage' => __DIR__ . '/../..' . '/src/Admin/IntegrationsOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\MetaBox' => __DIR__ . '/../..' . '/src/Admin/MetaBox.php',
'TLA_Media\\GTM_Kit\\Admin\\OptionTab' => __DIR__ . '/../..' . '/src/Admin/OptionTab.php',
'TLA_Media\\GTM_Kit\\Admin\\OptionTabs' => __DIR__ . '/../..' . '/src/Admin/OptionTabs.php',
'TLA_Media\\GTM_Kit\\Admin\\OptionsForm' => __DIR__ . '/../..' . '/src/Admin/OptionsForm.php',
'TLA_Media\\GTM_Kit\\Admin\\SetupWizard' => __DIR__ . '/../..' . '/src/Admin/SetupWizard.php',
'TLA_Media\\GTM_Kit\\Common\\RestAPIServer' => __DIR__ . '/../..' . '/src/Common/RestAPIServer.php',
'TLA_Media\\GTM_Kit\\Common\\Util' => __DIR__ . '/../..' . '/src/Common/Util.php',
'TLA_Media\\GTM_Kit\\Frontend\\BasicDatalayerData' => __DIR__ . '/../..' . '/src/Frontend/BasicDatalayerData.php',
'TLA_Media\\GTM_Kit\\Frontend\\Frontend' => __DIR__ . '/../..' . '/src/Frontend/Frontend.php',
'TLA_Media\\GTM_Kit\\Frontend\\UserData' => __DIR__ . '/../..' . '/src/Frontend/UserData.php',
'TLA_Media\\GTM_Kit\\Installation\\Installation' => __DIR__ . '/../..' . '/src/Installation/Installation.php',
'TLA_Media\\GTM_Kit\\Installation\\PluginDataImport' => __DIR__ . '/../..' . '/src/Installation/PluginDataImport.php',
'TLA_Media\\GTM_Kit\\Installation\\Upgrade' => __DIR__ . '/../..' . '/src/Installation/Upgrade.php',
'TLA_Media\\GTM_Kit\\Integration\\AbstractEcommerce' => __DIR__ . '/../..' . '/src/Integration/AbstractEcommerce.php',
'TLA_Media\\GTM_Kit\\Integration\\AbstractIntegration' => __DIR__ . '/../..' . '/src/Integration/AbstractIntegration.php',
'TLA_Media\\GTM_Kit\\Integration\\ContactForm7' => __DIR__ . '/../..' . '/src/Integration/ContactForm7.php',
'TLA_Media\\GTM_Kit\\Integration\\EasyDigitalDownloads' => __DIR__ . '/../..' . '/src/Integration/EasyDigitalDownloads.php',
'TLA_Media\\GTM_Kit\\Integration\\WooCommerce' => __DIR__ . '/../..' . '/src/Integration/WooCommerce.php',
'TLA_Media\\GTM_Kit\\Options' => __DIR__ . '/../..' . '/src/Options.php',
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
'TLA_Media\\GTM_Kit\\Admin\\AbstractOptionsPage' => __DIR__ . '/../..' . '/src/Admin/AbstractOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\Analytics' => __DIR__ . '/../..' . '/src/Admin/Analytics.php',
'TLA_Media\\GTM_Kit\\Admin\\GeneralOptionsPage' => __DIR__ . '/../..' . '/src/Admin/GeneralOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\HelpOptionsPage' => __DIR__ . '/../..' . '/src/Admin/HelpOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\IntegrationsOptionsPage' => __DIR__ . '/../..' . '/src/Admin/IntegrationsOptionsPage.php',
'TLA_Media\\GTM_Kit\\Admin\\MetaBox' => __DIR__ . '/../..' . '/src/Admin/MetaBox.php',
'TLA_Media\\GTM_Kit\\Admin\\OptionTab' => __DIR__ . '/../..' . '/src/Admin/OptionTab.php',
'TLA_Media\\GTM_Kit\\Admin\\OptionTabs' => __DIR__ . '/../..' . '/src/Admin/OptionTabs.php',
'TLA_Media\\GTM_Kit\\Admin\\OptionsForm' => __DIR__ . '/../..' . '/src/Admin/OptionsForm.php',
'TLA_Media\\GTM_Kit\\Admin\\SetupWizard' => __DIR__ . '/../..' . '/src/Admin/SetupWizard.php',
'TLA_Media\\GTM_Kit\\Common\\RestAPIServer' => __DIR__ . '/../..' . '/src/Common/RestAPIServer.php',
'TLA_Media\\GTM_Kit\\Common\\Util' => __DIR__ . '/../..' . '/src/Common/Util.php',
'TLA_Media\\GTM_Kit\\Frontend\\BasicDatalayerData' => __DIR__ . '/../..' . '/src/Frontend/BasicDatalayerData.php',
'TLA_Media\\GTM_Kit\\Frontend\\Frontend' => __DIR__ . '/../..' . '/src/Frontend/Frontend.php',
'TLA_Media\\GTM_Kit\\Frontend\\UserData' => __DIR__ . '/../..' . '/src/Frontend/UserData.php',
'TLA_Media\\GTM_Kit\\Installation\\Activation' => __DIR__ . '/../..' . '/src/Installation/Installation.php',
'TLA_Media\\GTM_Kit\\Installation\\PluginDataImport' => __DIR__ . '/../..' . '/src/Installation/PluginDataImport.php',
'TLA_Media\\GTM_Kit\\Installation\\Upgrade' => __DIR__ . '/../..' . '/src/Installation/Upgrade.php',
'TLA_Media\\GTM_Kit\\Integration\\AbstractEcommerce' => __DIR__ . '/../..' . '/src/Integration/AbstractEcommerce.php',
'TLA_Media\\GTM_Kit\\Integration\\AbstractIntegration' => __DIR__ . '/../..' . '/src/Integration/AbstractIntegration.php',
'TLA_Media\\GTM_Kit\\Integration\\ContactForm7' => __DIR__ . '/../..' . '/src/Integration/ContactForm7.php',
'TLA_Media\\GTM_Kit\\Integration\\EasyDigitalDownloads' => __DIR__ . '/../..' . '/src/Integration/EasyDigitalDownloads.php',
'TLA_Media\\GTM_Kit\\Integration\\WooCommerce' => __DIR__ . '/../..' . '/src/Integration/WooCommerce.php',
'TLA_Media\\GTM_Kit\\Options' => __DIR__ . '/../..' . '/src/Options.php',
);

public static function getInitializer(ClassLoader $loader)
Expand Down

0 comments on commit 1b1e1fd

Please sign in to comment.