renames to camelcase

This commit is contained in:
jygaulier
2012-05-07 14:08:46 +02:00
parent 207bb72ebd
commit c2297f04a5
4 changed files with 45 additions and 45 deletions

View File

@@ -364,12 +364,12 @@ abstract class task_abstract
* Return the last time the task was executed
* @return string
*/
public function get_last_exec_time()
public function getLastExecTime()
{
$conn = connection::getPDOConnection();
$sql = 'SELECT last_exec_time FROM task2 WHERE task_id = :taskid';
$stmt = $conn->prepare($sql);
$stmt->execute(array(':taskid' => $this->get_task_id()));
$stmt->execute(array(':taskid' => $this->getID()));
$row = $stmt->fetch(PDO::FETCH_ASSOC);
$stmt->closeCursor();