diff --git a/script.php b/script.php index 4c1eed3..959685f 100644 --- a/script.php +++ b/script.php @@ -1,4 +1,11 @@ + * @copyright Copyright (C) MynaParrot SL. All Rights Reserved + * @license GNU General Public License version 2 or later; see LICENSE.txt + */ defined('_JEXEC') or die; use Joomla\CMS\Factory; @@ -59,9 +66,9 @@ public function postflight(string $type, InstallerAdapter $adapter): bool ->where($db->qn('type') . ' = ' . $db->q("component")) ->where($db->qn('element') . ' = ' . $db->q("com_plugnmeet")); $db->setQuery($query); - $db->execute(); + + return $db->execute(); } - Factory::getApplication()->enqueueMessage(Text::_("COM_PLUGNMEET_XML_DESCRIPTION")); return true; }