Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Changes between Version 4 and Version 5 of AliasFunctionReview


Ignore:
Timestamp:
Oct 31, 2008, 6:13:15 PM (15 years ago)
Author:
rlaager
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AliasFunctionReview

    v4 v5  
    33This came up because we almost certainly need to add some function to return PurpleBuddy::alias only. The names we were picking clashed with the existing functions. Sadrul proposed _get_local_buddy_alias(). Richard agrees and suggests renaming that to _get_local_alias() in 3.0.0, replacing the currently unused (and newly deprecated) existing _get_local_alias().
    44
    5 (COALESCE is borrowed from SQL to mean "return the first non-NULL item".)
     5COALESCE is used here as pseudocode borrowed from SQL to mean "return the first non-NULL item".
    66
    77_get_alias_only = COALESCE(alias, server_alias);
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!