Quit Fresh to Drupal Programming all the way from China originally from Nepal.
I have been developing a module for drupal which actually subscribe a newsletter by sending a email to the server, when new user register my drupal site .
Now, I possibly should write my action in hook_user , but didn't actually find an appropriate $op where it should actually go.
I've noticed that when submitting an edit node page for an existing node that has a path alias set (path.module turned on), the URL_Alias table's entry for that Drupal path/alias entry is deleted and re-inserted (new path ID) even if the alias is the same.
This action (deletion and re-insertion) seems unnecessary and I can trace it to the code in path.module:function path_set_alias() at this snippet :