for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
// Функции обратного вызова комментариев
// Функция вызывается при добавлении комментария
/**
* @param $pageid
* @param $total_num
*/
function instruction_com_update($pageid, $total_num)
{
$db = XoopsDatabaseFactory::getDatabaseConnection();
$sql = 'UPDATE ' . $db->prefix('instruction_page') . ' SET comments = ' . $total_num . ' WHERE pageid = ' . $pageid;
$db->query($sql);
}
* @param $comment
function instruction_com_approve(&$comment)
$comment
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
// notification mail here
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.