05b2a44209
- Rename project source directory from src/ to source/ - Update CI workflows (ci-joomla, pr-check, repo-health) to check source/ first, falling back to src/ and htdocs/ for compat - Update .gitignore vendor exception path - manifest.xml entry-point already updated Authored-by: Moko Consulting Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
41 lines
965 B
PHP
41 lines
965 B
PHP
<?php
|
|
|
|
/**
|
|
* @package MokoJoomOpenGraph
|
|
* @subpackage com_mokoog
|
|
* @author Moko Consulting <hello@mokoconsulting.tech>
|
|
* @copyright Copyright (C) 2026 Moko Consulting. All rights reserved.
|
|
* @license GNU General Public License version 3 or later; see LICENSE
|
|
*/
|
|
|
|
defined('_JEXEC') or die;
|
|
|
|
use Joomla\CMS\Installer\InstallerAdapter;
|
|
|
|
class Com_MokoOGInstallerScript
|
|
{
|
|
/**
|
|
* Called after install.
|
|
*
|
|
* @param InstallerAdapter $parent Installer adapter
|
|
*
|
|
* @return void
|
|
*/
|
|
public function install(InstallerAdapter $parent): void
|
|
{
|
|
echo '<p>MokoJoomOpenGraph component installed successfully.</p>';
|
|
}
|
|
|
|
/**
|
|
* Called after update.
|
|
*
|
|
* @param InstallerAdapter $parent Installer adapter
|
|
*
|
|
* @return void
|
|
*/
|
|
public function update(InstallerAdapter $parent): void
|
|
{
|
|
echo '<p>MokoJoomOpenGraph component updated successfully.</p>';
|
|
}
|
|
}
|