From: <var...@us...> - 2016-01-16 16:28:19
|
Revision: 9763 http://sourceforge.net/p/phpwiki/code/9763 Author: vargenau Date: 2016-01-16 16:28:16 +0000 (Sat, 16 Jan 2016) Log Message: ----------- Upload plugin: put date and author in history Modified Paths: -------------- trunk/lib/plugin/UpLoad.php Modified: trunk/lib/plugin/UpLoad.php =================================================================== --- trunk/lib/plugin/UpLoad.php 2016-01-11 20:10:12 UTC (rev 9762) +++ trunk/lib/plugin/UpLoad.php 2016-01-16 16:28:16 UTC (rev 9763) @@ -227,6 +227,8 @@ } else { $meta['summary'] = sprintf(_("uploaded %s"), $sanified_userfile_name); } + $meta['mtime'] = time(); + $meta['author'] = $request->getUser()->getId(); $pagehandle->save($newtext, $version + 1, $meta); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |