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


require_once 'PEAR/PackageUpdate.php';

boolean PEAR_PackageUpdate::setDontAskAgain ( boolean $dontAsk )


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.


since 0.4.0a1

This function can not be called statically.

Return value

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

Loads the latest package information from the channel server. (Previous) Sets the user's "Don't Ask Again Until Next Release" preference for the package. (Next)
Last updated: Fri, 19 Jan 2018 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.