diff --git a/libraries/classes/Rte/RteList.php b/libraries/classes/Rte/RteList.php
index cee6b88c19..46e5aefc65 100644
--- a/libraries/classes/Rte/RteList.php
+++ b/libraries/classes/Rte/RteList.php
@@ -322,82 +322,26 @@ class RteList
* Creates the contents for a row in the list of events
*
* @param array $event An array of routine data
- * @param string $rowclass Additional class
+ * @param string $rowClass Additional class
*
* @return string HTML code of a cell for the list of events
*/
- public function getEventRow(array $event, $rowclass = '')
+ public function getEventRow(array $event, $rowClass = '')
{
- global $db, $table, $titles;
+ global $db, $table;
- $sql_drop = sprintf(
+ $sqlDrop = sprintf(
'DROP EVENT IF EXISTS %s',
Util::backquote($event['name'])
);
- $retval = "