Skip to content

Commit

Permalink
Modified code for travis compatibility Part 4
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Uhl committed Aug 9, 2016
1 parent a8d612e commit a55bc16
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
6 changes: 3 additions & 3 deletions administrator/components/com_admin/script.php
Expand Up @@ -1690,8 +1690,8 @@ public function flushSessions()
*
* @param string $newNull the old null date string
*
* @param string $oldNull the new null date string
*
* @param string $oldNull the new null date string
*
* @return void
*
* @since 12.2
Expand Down Expand Up @@ -1752,7 +1752,7 @@ public function convertTablesToNewNullDate($newNull=null,$oldNull=null)
return;
}

if($convertedDB == $newNull)
if ($convertedDB == $newNull)
{
// Already updated - nothing to do
return;
Expand Down
5 changes: 2 additions & 3 deletions libraries/joomla/database/driver.php
Expand Up @@ -877,9 +877,8 @@ public function getAlterTableCharacterSet($tableName)
/**
* Automatically changes the null date in the Query File
*
* @param string $query The query to convert
*
* @param string $nullDate The used nullDate
* @param string $query The query to convert
* @param string $nullDate The used nullDate
*
* @return string The converted query
*/
Expand Down

0 comments on commit a55bc16

Please sign in to comment.