You are here

function uc_file_refresh in Ubercart 8.4

Same name and namespace in other branches
  1. 6.2 uc_file/uc_file.module \uc_file_refresh()
  2. 7.3 uc_file/uc_file.module \uc_file_refresh()

Removes non-existent files and update the downloadable list.

5 calls to uc_file_refresh()
ActionForm::submitForm in uc_file/src/Form/ActionForm.php
Form submission handler.
FeatureSettingsForm::submitForm in uc_file/src/Form/FeatureSettingsForm.php
Form submission handler.
FileActionForm::buildForm in uc_file/src/Form/FileActionForm.php
Form constructor.
FileFeatureForm::buildForm in uc_file/src/Form/FileFeatureForm.php
Form constructor.
FileUploadForm::submitForm in uc_file/src/Form/FileUploadForm.php
Form submission handler.

File

uc_file/uc_file.module, line 471
Allows products to be associated with downloadable files.

Code

function uc_file_refresh() {
  _uc_file_prune_files();
  _uc_file_gather_files();
}