- fixed small notices;

This commit is contained in:
nikitozzzzzzz
2018-09-27 23:30:34 +03:00
parent d9f75f7db0
commit 202bf57c53
5 changed files with 10 additions and 10 deletions
-2
View File
@@ -39,7 +39,6 @@ if ( ! class_exists( 'um\core\Files' ) ) {
$this->setup_paths();
//add_action( 'template_redirect', array( &$this, 'file_download' ) );
add_action( 'template_redirect', array( &$this, 'download_routing' ) );
$this->fonticon = array(
@@ -144,7 +143,6 @@ if ( ! class_exists( 'um\core\Files' ) ) {
}
$download_type = $field_data[ $field_key ]['type'];
if ( $download_type === 'file' ) {
$this->file_download( $user_id, $field_key, $field_value );
} else {