Auth_PrefManager::deletePref

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

Synopsis

require_once '/PrefManager.php';

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

Описание

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 value

returns Success/Failure

Throws

No exceptions thrown.

Замечание

This function can not be called statically.

    Поддержать сайт на родительском проекте КГБ