PEAR_PackageUpdate::setDontAskAgain

PEAR_PackageUpdate::setDontAskAgain – Sets the user's "Don't Ask Again" preference for the package.

Synopsis

require_once 'PEAR/PackageUpdate.php';

boolean PEAR_PackageUpdate::setDontAskAgain ( boolean $dontAsk )

Description

Sets the user's "Don't Ask Again" preference to $dontAsk. If $dontAsk is TRUE the user will not be asked to update the package again.

Note

since 0.4.0a1

This function can not be called statically.

Return value

boolean - TRUE if the preference was set properly, FALSE otherwise.