View Issue Details

IDProjectCategoryView StatusLast Update
0009332mantisbtrelationshipspublic2008-08-11 09:41
Reporterm1k0 Assigned Tovboctor  
PrioritynormalSeveritytrivialReproducibilityalways
Status closedResolutionfixed 
Product Version1.1.2 
Fixed in Version1.2.0a2 
Summary0009332: Remove auth_get_current_user_id from relationship_api.php
Description

I know this is a dumb/stupid thing to even put in but on line 513 of the relationship_api.php file there is the line

$p_user_id = auth_get_current_user_id();

After that call $p_user_id is never used anywhere nor is it used at all in the relationship_api.

The only reason I am even bringing such a minor thing up is I ran into this trying to set up some automatic email reminders which do not have a current user set. But I figure that anyplace that code can be simplified or removed is good.

TagsNo tags attached.

Activities