Sindbad~EG File Manager

Current Path : /var/www/ispania.gr/modules/mod_kunenalatest/
Upload File :
Current File : /var/www/ispania.gr/modules/mod_kunenalatest/install.script.php

<?php
/**
 * Kunena Latest Module
 *
 * @package       Kunena.mod_kunenalatest
 *
 * @copyright (C) 2008 - 2020 Kunena Team. All rights reserved.
 * @license       http://www.gnu.org/copyleft/gpl.html GNU/GPL
 * @link          https://www.kunena.org
 **/
defined('_JEXEC') or die();

class Mod_KunenalatestInstallerScript
{
	function postflight($type, $parent)
	{
		// Delete useless manifest file
		$path = $parent->getParent()->getPath('extension_root');
		$name = $parent->get('name');

		if (JFile::exists("{$path}/{$name}.j25.xml"))
		{
			JFile::delete("{$path}/{$name}.j25.xml");
		}
	}
}

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists