Hi,
as more and more functions or modules in mapbender
are deprecated i think it would be useful to mark
these clearly and visible to all admins. What i'm thinking
about is something like throwing a notice in the deprecated
module, e.g. in class_administration.php
something like this
/**
* @deprecated
*/
function getGuisByPermission($mb_user_id,$ignorepublic){
$e = new mb_notice("administration->getGuisByPermission is deprecated, use
user->getGuisByPermission instead!");
$user = new User($mb_user_id);
return $user->getApplicationsByPermission($ignorepublic);
}
so if the dev or admin reads the logfiles this will get obvious
(reading logs anyone? ;-)
What do you think about this?
Ciao
Thomas Baschetti
--
--
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/[EMAIL PROTECTED]
_______________________________________________
Mapbender_dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapbender_dev