Skip to content

Commit ac78365

Browse files
committed
Optimize Custom Library
1 parent b8653a6 commit ac78365

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

custom/HungNG_CI_Base_Custom_Model_Credentials_model.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* @author 713uk13m <dev@nguyenanhung.com>
1616
* @copyright 713uk13m <dev@nguyenanhung.com>
1717
*
18-
* @property CI_DB_pdo_driver|CI_DB_mysqli_driver|CI_DB_query_builder|CI_DB_driver $db This is the platform-independent base Query Builder implementation class
18+
* @property CI_DB_pdo_driver|CI_DB_query_builder|CI_DB_driver $db This is the platform-independent base Query Builder implementation class
1919
*/
2020
class HungNG_CI_Base_Custom_Model_Credentials_model extends HungNG_Custom_Based_model
2121
{
@@ -61,6 +61,7 @@ public function checkCredentials($username = '')
6161
$this->db->from($this->tableName);
6262
$this->db->where($this->fieldUsername, $username);
6363
$this->db->where($this->fieldStatus, self::IS_ACTIVE);
64+
6465
return $this->db->count_all_results();
6566
}
6667

0 commit comments

Comments
 (0)