<?php
/***************************************************************************
- * Copyright (C) 2003-2006 Polytechnique.org *
+ * Copyright (C) 2003-2007 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
$this->_cats[$tmp['id']] = $tmp;
}
- $lastweek = date('YmdHis',mktime() - 7*24*60*60);
+ $lastweek = date('YmdHis', time() - 7*24*60*60);
// recupere les notifs du watcher $uid, sans detail sur le watcher,
// depuis la semaine dernière, meme ceux sans surveillance, ordonnés