save.php 371 B

1234567891011121314151617
  1. <?php
  2. /**
  3. * Aggregate action for saving settings
  4. *
  5. * @package Elgg.Core
  6. * @subpackage UserSettings
  7. */
  8. elgg_make_sticky_form('usersettings');
  9. // callbacks should return false to indicate that the sticky form should not be cleared
  10. if (elgg_trigger_plugin_hook('usersettings:save', 'user', null, true)) {
  11. elgg_clear_sticky_form('usersettings');
  12. }
  13. forward(REFERER);