Auth_PrefManager::deletePref()

Auth_PrefManager::deletePref()  -- Deletes a preference for the specified user.

Referentiesamenvatting

require_once '/PrefManager.php';

bool Auth_PrefManager::deletePref (string $user_id, string $pref_id)

Beschrijving

Deletes the preference $pref_id for $user_id if one is set.

Parameter

string $user_id

The userid of the user to delete from.

string $pref_id

The preference to delete.

Return waarde

returns Success/Failure

Throws

No exceptions thrown.

Note

Deze functie kan niet statisch worden aangeroepen.