forked from techjoomla/TJ-Notifications
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue techjoomla#48 chore: Log Email details in DB table - Tj Notific…
…ation
- Loading branch information
1 parent
f006121
commit 7fc56ed
Showing
3 changed files
with
13 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<?php | ||
/** | ||
* @package TJNotifications | ||
* @subpackage com_tjnotifications | ||
* | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (C) 2009 - 2019 Techjoomla. All rights reserved. | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL | ||
*/ | ||
* @package TJNotifications | ||
* @subpackage com_tjnotifications | ||
* | ||
* @author Techjoomla <[email protected]> | ||
* @copyright Copyright (C) 2009 - 2019 Techjoomla. All rights reserved. | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL | ||
*/ | ||
// No direct access | ||
defined('_JEXEC') or die; | ||
use Joomla\CMS\Factory; | ||
|
@@ -16,7 +16,7 @@ | |
$jinput = Factory::getApplication()->input; | ||
$logId = $jinput->get('id', 0, 'INT'); | ||
|
||
if($logId) | ||
if ($logId) | ||
{ | ||
Table::addIncludePath(JPATH_ADMINISTRATOR . '/components/com_tjnotifications/tables'); | ||
$logTable = Table::getInstance('Log', 'TjnotificationsTable'); | ||
|