public function logStart(ForgeUpgrade_Bucket $bucket) { $sth = $this->dbh->prepare('INSERT INTO ' . $this->t['bucket'] . ' (script, start_date) VALUES (?, NOW())'); if ($sth) { $sth->execute(array($bucket->getPath())); $bucket->setId($this->dbh->lastInsertId()); } }