From: <pri...@us...> - 2008-05-01 19:50:40
|
Revision: 5225 http://mantisbt.svn.sourceforge.net/mantisbt/?rev=5225&view=rev Author: prichards Date: 2008-05-01 12:50:33 -0700 (Thu, 01 May 2008) Log Message: ----------- precache access levels when viewing bugnotes. Modified Paths: -------------- trunk/mantisbt/bugnote_view_inc.php Modified: trunk/mantisbt/bugnote_view_inc.php =================================================================== --- trunk/mantisbt/bugnote_view_inc.php 2008-05-01 19:49:26 UTC (rev 5224) +++ trunk/mantisbt/bugnote_view_inc.php 2008-05-01 19:50:33 UTC (rev 5225) @@ -44,6 +44,13 @@ } user_cache_array_rows( $t_bugnote_users ); + #precache access levels + if ( isset( $g_project_override ) ) { + access_cache_matrix_project( $g_project_override ); + } else { + access_cache_matrix_project( helper_get_current_project() ); + } + $num_notes = sizeof( $t_bugnotes ); ?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |