Permalink
Browse files

Change to truncateTable

  • Loading branch information...
1 parent 75957ea commit 67ada5c718beb7df7d6b6149c1b9c7651303d589 @mbabker mbabker committed Nov 23, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 libraries/joomla/database/database.php
  2. +1 −1 tests/suite/joomla/database/JDatabaseTest.php
@@ -1420,7 +1420,7 @@ public function setQuery($query, $offset = 0, $limit = 0)
* @since 11.3
* @throws JDatabaseException
*/
- public function truncate($table)
+ public function truncateTable($table)
{
$this->setQuery('TRUNCATE TABLE ' . $this->quoteName($table));
$this->query();
@@ -229,7 +229,7 @@ public function testQuote()
/**
* @todo Implement testTruncate().
*/
- public function testTruncate()
+ public function testTruncateTable()
{
// Remove the following lines when you implement this test.
$this->markTestIncomplete('This test has not been implemented yet.');

0 comments on commit 67ada5c

Please sign in to comment.