mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-13 19:56:27 +09:00
- fixed user registration;
- phpDoc;
This commit is contained in:
@@ -70,6 +70,9 @@ if ( ! class_exists( 'Files' ) ) {
|
||||
* Remove file by AJAX
|
||||
*/
|
||||
function ajax_remove_file() {
|
||||
/**
|
||||
* @var $src
|
||||
*/
|
||||
extract( $_REQUEST );
|
||||
$this->delete_file( $src );
|
||||
}
|
||||
@@ -226,6 +229,7 @@ if ( ! class_exists( 'Files' ) ) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Setup upload directory
|
||||
*/
|
||||
@@ -442,8 +446,6 @@ if ( ! class_exists( 'Files' ) ) {
|
||||
$info['um_has_copied'] = $has_copied ? 'yes':'no';
|
||||
}
|
||||
|
||||
|
||||
|
||||
return $info;
|
||||
}
|
||||
|
||||
@@ -505,6 +507,7 @@ if ( ! class_exists( 'Files' ) ) {
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Make a Folder
|
||||
*
|
||||
@@ -1215,6 +1218,10 @@ if ( ! class_exists( 'Files' ) ) {
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
function ajax_file_upload(){
|
||||
$ret['error'] = null;
|
||||
$ret = array();
|
||||
|
||||
Reference in New Issue
Block a user