<?php
/**
* XS2:
*
* This file is developed by Solutecs, LLC for the purpose of the company
* and is provided together with XS2 Framework as and inherent part of the
* system. This file can be used on the terms of License Agreement.
*
* +7 (495) 585-0833 / 13 Rusakovskaya street, Moscow 107140 Russia
*
* @link http://www.solutecs.com
* @copyright ©1998-2007 Solutecs, LLC
* @package XS2-MODCOM
* @subpackage proc-forum
* @version 1.XX
*/
$message = $_THE['NODE'];
if ($message['NodId'] > 1) {
// Получаем путь к объекту
$path = xs2GetPath($message);
foreach($path as $node) {
if('thread'==$node['NType']) {
$date = date("Y-m-d H:i:s");
$node['LastChangeDate'] = $date;
xs2UpdateNode($node);
break;
}
}
}
?>
|
|