Skip to content

Commit

Permalink
Issue techjoomla#48 chore: code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
punambaravkar committed Jun 26, 2019
1 parent 6651949 commit 40ce146
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/com_tjnotifications/admin/config.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<config>
<fieldset label="COM_TJNOTIFICATION" name="Notifications">
<field name="allow_save" type="radio" class="btn-group btn-group-yesno" default="No" label="COM_TJNOTIFICATIONS_ALLOW_SAVE_OPTION" description="COM_TJNOTIFICATIONS_APPLICATION_OPTION_DESC">
<field name="enable_logs" type="radio" class="btn-group btn-group-yesno" default="No" label="COM_TJNOTIFICATIONS_ALLOW_SAVE_OPTION" description="COM_TJNOTIFICATIONS_APPLICATION_OPTION_DESC">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
Expand Down
2 changes: 1 addition & 1 deletion src/com_tjnotifications/admin/models/logs.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ protected function getListQuery()

// Create the base select statement.
$query->select('*')
->from($db->quoteName('#__tjnotification_logs', 'tjl'));
->from($db->quoteName('#__tj_notification_logs', 'tjl'));

$search = $this->getState('filter.search');

Expand Down
2 changes: 1 addition & 1 deletion src/com_tjnotifications/admin/sql/install.mysql.utf8.sql
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ CREATE TABLE IF NOT EXISTS `#__tj_notification_templates` (
)
DEFAULT CHARSET=utf8;

CREATE TABLE IF NOT EXISTS `#__tjnotification_logs` (
CREATE TABLE IF NOT EXISTS `#__tj_notification_logs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`key` varchar(100) NOT NULL,
`client` varchar(100) NOT NULL,
Expand Down
4 changes: 2 additions & 2 deletions src/com_tjnotifications/admin/sql/updates/mysql/1.1.0.sql
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
--
-- Notifications Logs Tables : Table structure for table `#__tjnotification_logs`
-- Notifications Logs Tables : Table structure for table `#__tj_notification_logs`
--
CREATE TABLE IF NOT EXISTS `#__tjnotification_logs` (
CREATE TABLE IF NOT EXISTS `#__tj_notification_logs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`key` varchar(100) NOT NULL,
`client` varchar(100) NOT NULL,
Expand Down

0 comments on commit 40ce146

Please sign in to comment.