@@ -11,20 +11,20 @@ discard block |
||
| 11 | 11 | class phpbbgallery_new_image extends \phpbb\notification\type\base |
| 12 | 12 | { |
| 13 | 13 | /** |
| 14 | - * Get notification type name |
|
| 15 | - * |
|
| 16 | - * @return string |
|
| 17 | - */ |
|
| 14 | + * Get notification type name |
|
| 15 | + * |
|
| 16 | + * @return string |
|
| 17 | + */ |
|
| 18 | 18 | public function get_type() |
| 19 | 19 | { |
| 20 | 20 | return 'phpbbgallery.core.notification.new_image'; |
| 21 | 21 | } |
| 22 | 22 | /** |
| 23 | - * Notification option data (for outputting to the user) |
|
| 24 | - * |
|
| 25 | - * @var bool|array False if the service should use it's default data |
|
| 26 | - * Array of data (including keys 'id', 'lang', and 'group') |
|
| 27 | - */ |
|
| 23 | + * Notification option data (for outputting to the user) |
|
| 24 | + * |
|
| 25 | + * @var bool|array False if the service should use it's default data |
|
| 26 | + * Array of data (including keys 'id', 'lang', and 'group') |
|
| 27 | + */ |
|
| 28 | 28 | public static $notification_option = array( |
| 29 | 29 | 'lang' => 'NOTIFICATION_TYPE_PHPBBGALLERY_NEW_IMAGE', |
| 30 | 30 | ); |
@@ -46,10 +46,10 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * Is this type available to the current user (defines whether or not it will be shown in the UCP Edit notification options) |
|
| 50 | - * |
|
| 51 | - * @return bool True/False whether or not this is available to the user |
|
| 52 | - */ |
|
| 49 | + * Is this type available to the current user (defines whether or not it will be shown in the UCP Edit notification options) |
|
| 50 | + * |
|
| 51 | + * @return bool True/False whether or not this is available to the user |
|
| 52 | + */ |
|
| 53 | 53 | public function is_available() |
| 54 | 54 | { |
| 55 | 55 | return true; |
@@ -93,17 +93,17 @@ discard block |
||
| 93 | 93 | } |
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | - * Get the user's avatar |
|
| 97 | - */ |
|
| 96 | + * Get the user's avatar |
|
| 97 | + */ |
|
| 98 | 98 | public function get_avatar() |
| 99 | 99 | { |
| 100 | 100 | return 0; |
| 101 | 101 | } |
| 102 | 102 | /** |
| 103 | - * Get the HTML formatted title of this notification |
|
| 104 | - * |
|
| 105 | - * @return string |
|
| 106 | - */ |
|
| 103 | + * Get the HTML formatted title of this notification |
|
| 104 | + * |
|
| 105 | + * @return string |
|
| 106 | + */ |
|
| 107 | 107 | public function get_title() |
| 108 | 108 | { |
| 109 | 109 | return $this->language->lang('NOTIFICATION_PHPBBGALLERY_NEW_IMAGE', $this->get_data('album_name')); |
@@ -121,19 +121,19 @@ discard block |
||
| 121 | 121 | } |
| 122 | 122 | |
| 123 | 123 | /** |
| 124 | - * Get email template |
|
| 125 | - * |
|
| 126 | - * @return string|bool |
|
| 127 | - */ |
|
| 124 | + * Get email template |
|
| 125 | + * |
|
| 126 | + * @return string|bool |
|
| 127 | + */ |
|
| 128 | 128 | public function get_email_template() |
| 129 | 129 | { |
| 130 | 130 | return false; |
| 131 | 131 | } |
| 132 | 132 | /** |
| 133 | - * Get email template variables |
|
| 134 | - * |
|
| 135 | - * @return array |
|
| 136 | - */ |
|
| 133 | + * Get email template variables |
|
| 134 | + * |
|
| 135 | + * @return array |
|
| 136 | + */ |
|
| 137 | 137 | public function get_email_template_variables() |
| 138 | 138 | { |
| 139 | 139 | return array(); |
@@ -160,14 +160,14 @@ discard block |
||
| 160 | 160 | } |
| 161 | 161 | |
| 162 | 162 | /** |
| 163 | - * Function for preparing the data for insertion in an SQL query |
|
| 164 | - * (The service handles insertion) |
|
| 165 | - * |
|
| 166 | - * @param array $data The data for the updated rules |
|
| 167 | - * @param array $pre_create_data Data from pre_create_insert_array() |
|
| 168 | - * |
|
| 169 | - * @return array Array of data ready to be inserted into the database |
|
| 170 | - */ |
|
| 163 | + * Function for preparing the data for insertion in an SQL query |
|
| 164 | + * (The service handles insertion) |
|
| 165 | + * |
|
| 166 | + * @param array $data The data for the updated rules |
|
| 167 | + * @param array $pre_create_data Data from pre_create_insert_array() |
|
| 168 | + * |
|
| 169 | + * @return array Array of data ready to be inserted into the database |
|
| 170 | + */ |
|
| 171 | 171 | public function create_insert_array($data, $pre_create_data = array()) |
| 172 | 172 | { |
| 173 | 173 | $this->set_data('album_name', $data['album_name']); |
@@ -11,20 +11,20 @@ discard block |
||
| 11 | 11 | class phpbbgallery_image_for_approval extends \phpbb\notification\type\base |
| 12 | 12 | { |
| 13 | 13 | /** |
| 14 | - * Get notification type name |
|
| 15 | - * |
|
| 16 | - * @return string |
|
| 17 | - */ |
|
| 14 | + * Get notification type name |
|
| 15 | + * |
|
| 16 | + * @return string |
|
| 17 | + */ |
|
| 18 | 18 | public function get_type() |
| 19 | 19 | { |
| 20 | 20 | return 'phpbbgallery.core.notification.image_for_approval'; |
| 21 | 21 | } |
| 22 | 22 | /** |
| 23 | - * Notification option data (for outputting to the user) |
|
| 24 | - * |
|
| 25 | - * @var bool|array False if the service should use it's default data |
|
| 26 | - * Array of data (including keys 'id', 'lang', and 'group') |
|
| 27 | - */ |
|
| 23 | + * Notification option data (for outputting to the user) |
|
| 24 | + * |
|
| 25 | + * @var bool|array False if the service should use it's default data |
|
| 26 | + * Array of data (including keys 'id', 'lang', and 'group') |
|
| 27 | + */ |
|
| 28 | 28 | public static $notification_option = array( |
| 29 | 29 | 'lang' => 'NOTIFICATION_TYPE_PHPBBGALLERY_IMAGE_FOR_APPROVE', |
| 30 | 30 | ); |
@@ -46,10 +46,10 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * Is this type available to the current user (defines whether or not it will be shown in the UCP Edit notification options) |
|
| 50 | - * |
|
| 51 | - * @return bool True/False whether or not this is available to the user |
|
| 52 | - */ |
|
| 49 | + * Is this type available to the current user (defines whether or not it will be shown in the UCP Edit notification options) |
|
| 50 | + * |
|
| 51 | + * @return bool True/False whether or not this is available to the user |
|
| 52 | + */ |
|
| 53 | 53 | public function is_available() |
| 54 | 54 | { |
| 55 | 55 | return true; |
@@ -127,19 +127,19 @@ discard block |
||
| 127 | 127 | } |
| 128 | 128 | |
| 129 | 129 | /** |
| 130 | - * Get email template |
|
| 131 | - * |
|
| 132 | - * @return string|bool |
|
| 133 | - */ |
|
| 130 | + * Get email template |
|
| 131 | + * |
|
| 132 | + * @return string|bool |
|
| 133 | + */ |
|
| 134 | 134 | public function get_email_template() |
| 135 | 135 | { |
| 136 | 136 | return false; |
| 137 | 137 | } |
| 138 | 138 | /** |
| 139 | - * Get email template variables |
|
| 140 | - * |
|
| 141 | - * @return array |
|
| 142 | - */ |
|
| 139 | + * Get email template variables |
|
| 140 | + * |
|
| 141 | + * @return array |
|
| 142 | + */ |
|
| 143 | 143 | public function get_email_template_variables() |
| 144 | 144 | { |
| 145 | 145 | return array(); |
@@ -166,14 +166,14 @@ discard block |
||
| 166 | 166 | } |
| 167 | 167 | |
| 168 | 168 | /** |
| 169 | - * Function for preparing the data for insertion in an SQL query |
|
| 170 | - * (The service handles insertion) |
|
| 171 | - * |
|
| 172 | - * @param array $data The data for the updated rules |
|
| 173 | - * @param array $pre_create_data Data from pre_create_insert_array() |
|
| 174 | - * |
|
| 175 | - * @return array Array of data ready to be inserted into the database |
|
| 176 | - */ |
|
| 169 | + * Function for preparing the data for insertion in an SQL query |
|
| 170 | + * (The service handles insertion) |
|
| 171 | + * |
|
| 172 | + * @param array $data The data for the updated rules |
|
| 173 | + * @param array $pre_create_data Data from pre_create_insert_array() |
|
| 174 | + * |
|
| 175 | + * @return array Array of data ready to be inserted into the database |
|
| 176 | + */ |
|
| 177 | 177 | public function create_insert_array($data, $pre_create_data = array()) |
| 178 | 178 | { |
| 179 | 179 | $this->set_data('album_name', $data['album_name']); |
@@ -10,20 +10,20 @@ discard block |
||
| 10 | 10 | class phpbbgallery_image_not_approved extends \phpbb\notification\type\base |
| 11 | 11 | { |
| 12 | 12 | /** |
| 13 | - * Get notification type name |
|
| 14 | - * |
|
| 15 | - * @return string |
|
| 16 | - */ |
|
| 13 | + * Get notification type name |
|
| 14 | + * |
|
| 15 | + * @return string |
|
| 16 | + */ |
|
| 17 | 17 | public function get_type() |
| 18 | 18 | { |
| 19 | 19 | return 'phpbbgallery.core.notification.image_not_approved'; |
| 20 | 20 | } |
| 21 | 21 | /** |
| 22 | - * Notification option data (for outputting to the user) |
|
| 23 | - * |
|
| 24 | - * @var bool|array False if the service should use it's default data |
|
| 25 | - * Array of data (including keys 'id', 'lang', and 'group') |
|
| 26 | - */ |
|
| 22 | + * Notification option data (for outputting to the user) |
|
| 23 | + * |
|
| 24 | + * @var bool|array False if the service should use it's default data |
|
| 25 | + * Array of data (including keys 'id', 'lang', and 'group') |
|
| 26 | + */ |
|
| 27 | 27 | public static $notification_option = array( |
| 28 | 28 | 'lang' => 'NOTIFICATION_TYPE_PHPBBGALLERY_IMAGE_NOT_APPROVED', |
| 29 | 29 | ); |
@@ -45,10 +45,10 @@ discard block |
||
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | - * Is this type available to the current user (defines whether or not it will be shown in the UCP Edit notification options) |
|
| 49 | - * |
|
| 50 | - * @return bool True/False whether or not this is available to the user |
|
| 51 | - */ |
|
| 48 | + * Is this type available to the current user (defines whether or not it will be shown in the UCP Edit notification options) |
|
| 49 | + * |
|
| 50 | + * @return bool True/False whether or not this is available to the user |
|
| 51 | + */ |
|
| 52 | 52 | public function is_available() |
| 53 | 53 | { |
| 54 | 54 | return true; |
@@ -139,10 +139,10 @@ discard block |
||
| 139 | 139 | } |
| 140 | 140 | |
| 141 | 141 | /** |
| 142 | - * Users needed to query before this notification can be displayed |
|
| 143 | - * |
|
| 144 | - * @return array Array of user_ids |
|
| 145 | - */ |
|
| 142 | + * Users needed to query before this notification can be displayed |
|
| 143 | + * |
|
| 144 | + * @return array Array of user_ids |
|
| 145 | + */ |
|
| 146 | 146 | public function users_to_query() |
| 147 | 147 | { |
| 148 | 148 | return array(); |
@@ -150,14 +150,14 @@ discard block |
||
| 150 | 150 | |
| 151 | 151 | |
| 152 | 152 | /** |
| 153 | - * Function for preparing the data for insertion in an SQL query |
|
| 154 | - * (The service handles insertion) |
|
| 155 | - * |
|
| 156 | - * @param array $data The data for the updated rules |
|
| 157 | - * @param array $pre_create_data Data from pre_create_insert_array() |
|
| 158 | - * |
|
| 159 | - * @return array Array of data ready to be inserted into the database |
|
| 160 | - */ |
|
| 153 | + * Function for preparing the data for insertion in an SQL query |
|
| 154 | + * (The service handles insertion) |
|
| 155 | + * |
|
| 156 | + * @param array $data The data for the updated rules |
|
| 157 | + * @param array $pre_create_data Data from pre_create_insert_array() |
|
| 158 | + * |
|
| 159 | + * @return array Array of data ready to be inserted into the database |
|
| 160 | + */ |
|
| 161 | 161 | public function create_insert_array($data, $pre_create_data = array()) |
| 162 | 162 | { |
| 163 | 163 | $this->set_data('album_name', $data['album_name']); |
@@ -11,20 +11,20 @@ discard block |
||
| 11 | 11 | class phpbbgallery_image_approved extends \phpbb\notification\type\base |
| 12 | 12 | { |
| 13 | 13 | /** |
| 14 | - * Get notification type name |
|
| 15 | - * |
|
| 16 | - * @return string |
|
| 17 | - */ |
|
| 14 | + * Get notification type name |
|
| 15 | + * |
|
| 16 | + * @return string |
|
| 17 | + */ |
|
| 18 | 18 | public function get_type() |
| 19 | 19 | { |
| 20 | 20 | return 'phpbbgallery.core.notification.image_approved'; |
| 21 | 21 | } |
| 22 | 22 | /** |
| 23 | - * Notification option data (for outputting to the user) |
|
| 24 | - * |
|
| 25 | - * @var bool|array False if the service should use it's default data |
|
| 26 | - * Array of data (including keys 'id', 'lang', and 'group') |
|
| 27 | - */ |
|
| 23 | + * Notification option data (for outputting to the user) |
|
| 24 | + * |
|
| 25 | + * @var bool|array False if the service should use it's default data |
|
| 26 | + * Array of data (including keys 'id', 'lang', and 'group') |
|
| 27 | + */ |
|
| 28 | 28 | public static $notification_option = array( |
| 29 | 29 | 'lang' => 'NOTIFICATION_TYPE_PHPBBGALLERY_IMAGE_APPROVED', |
| 30 | 30 | ); |
@@ -46,10 +46,10 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * Is this type available to the current user (defines whether or not it will be shown in the UCP Edit notification options) |
|
| 50 | - * |
|
| 51 | - * @return bool True/False whether or not this is available to the user |
|
| 52 | - */ |
|
| 49 | + * Is this type available to the current user (defines whether or not it will be shown in the UCP Edit notification options) |
|
| 50 | + * |
|
| 51 | + * @return bool True/False whether or not this is available to the user |
|
| 52 | + */ |
|
| 53 | 53 | public function is_available() |
| 54 | 54 | { |
| 55 | 55 | return true; |
@@ -140,10 +140,10 @@ discard block |
||
| 140 | 140 | } |
| 141 | 141 | |
| 142 | 142 | /** |
| 143 | - * Users needed to query before this notification can be displayed |
|
| 144 | - * |
|
| 145 | - * @return array Array of user_ids |
|
| 146 | - */ |
|
| 143 | + * Users needed to query before this notification can be displayed |
|
| 144 | + * |
|
| 145 | + * @return array Array of user_ids |
|
| 146 | + */ |
|
| 147 | 147 | public function users_to_query() |
| 148 | 148 | { |
| 149 | 149 | return array(); |
@@ -151,14 +151,14 @@ discard block |
||
| 151 | 151 | |
| 152 | 152 | |
| 153 | 153 | /** |
| 154 | - * Function for preparing the data for insertion in an SQL query |
|
| 155 | - * (The service handles insertion) |
|
| 156 | - * |
|
| 157 | - * @param array $data The data for the updated rules |
|
| 158 | - * @param array $pre_create_data Data from pre_create_insert_array() |
|
| 159 | - * |
|
| 160 | - * @return array Array of data ready to be inserted into the database |
|
| 161 | - */ |
|
| 154 | + * Function for preparing the data for insertion in an SQL query |
|
| 155 | + * (The service handles insertion) |
|
| 156 | + * |
|
| 157 | + * @param array $data The data for the updated rules |
|
| 158 | + * @param array $pre_create_data Data from pre_create_insert_array() |
|
| 159 | + * |
|
| 160 | + * @return array Array of data ready to be inserted into the database |
|
| 161 | + */ |
|
| 162 | 162 | public function create_insert_array($data, $pre_create_data = array()) |
| 163 | 163 | { |
| 164 | 164 | $this->set_data('album_name', $data['album_name']); |
@@ -235,11 +235,11 @@ |
||
| 235 | 235 | } |
| 236 | 236 | |
| 237 | 237 | /** |
| 238 | - * Remove albums from watch-list |
|
| 239 | - * |
|
| 240 | - * @param mixed $album_ids Array or integer with album_id where we delete from the watch-list. |
|
| 241 | - * @param mixed $user_ids If not set, it uses the currents user_id |
|
| 242 | - */ |
|
| 238 | + * Remove albums from watch-list |
|
| 239 | + * |
|
| 240 | + * @param mixed $album_ids Array or integer with album_id where we delete from the watch-list. |
|
| 241 | + * @param mixed $user_ids If not set, it uses the currents user_id |
|
| 242 | + */ |
|
| 243 | 243 | public function remove_albums($album_ids, $user_ids = false) |
| 244 | 244 | { |
| 245 | 245 | $album_ids = $this->cast_mixed_int2array($album_ids); |
@@ -106,9 +106,9 @@ |
||
| 106 | 106 | } |
| 107 | 107 | |
| 108 | 108 | /** |
| 109 | - * Delete logs |
|
| 110 | - * @param array $mark Logs selected for deletion |
|
| 111 | - **/ |
|
| 109 | + * Delete logs |
|
| 110 | + * @param array $mark Logs selected for deletion |
|
| 111 | + **/ |
|
| 112 | 112 | public function delete_logs($mark) |
| 113 | 113 | { |
| 114 | 114 | $sql = 'DELETE FROM ' . $this->log_table . ' WHERE ' . $this->db->sql_in_set('log_id', $mark); |
@@ -92,12 +92,12 @@ discard block |
||
| 92 | 92 | $additional_settings = array(); |
| 93 | 93 | |
| 94 | 94 | /** |
| 95 | - * Event set personal settings |
|
| 96 | - * |
|
| 97 | - * @event phpbbgallery.core.ucp.set_settings_submit |
|
| 98 | - * @var array additional_settings array of additional settings |
|
| 99 | - * @since 1.2.0 |
|
| 100 | - */ |
|
| 95 | + * Event set personal settings |
|
| 96 | + * |
|
| 97 | + * @event phpbbgallery.core.ucp.set_settings_submit |
|
| 98 | + * @var array additional_settings array of additional settings |
|
| 99 | + * @since 1.2.0 |
|
| 100 | + */ |
|
| 101 | 101 | $vars = array('additional_settings'); |
| 102 | 102 | extract($this->dispatcher->trigger_event('phpbbgallery.core.ucp.set_settings_submit', compact($vars))); |
| 103 | 103 | |
@@ -118,11 +118,11 @@ discard block |
||
| 118 | 118 | } |
| 119 | 119 | |
| 120 | 120 | /** |
| 121 | - * Event no submit personal settings |
|
| 122 | - * |
|
| 123 | - * @event phpbbgallery.core.ucp.set_settings_nosubmit |
|
| 124 | - * @since 1.2.0 |
|
| 125 | - */ |
|
| 121 | + * Event no submit personal settings |
|
| 122 | + * |
|
| 123 | + * @event phpbbgallery.core.ucp.set_settings_nosubmit |
|
| 124 | + * @since 1.2.0 |
|
| 125 | + */ |
|
| 126 | 126 | $this->dispatcher->dispatch('phpbbgallery.core.ucp.set_settings_nosubmit'); |
| 127 | 127 | |
| 128 | 128 | $this->template->assign_vars(array( |
@@ -389,10 +389,10 @@ discard block |
||
| 389 | 389 | generate_text_for_storage($album_data['album_desc'], $album_data['album_desc_uid'], $album_data['album_desc_bitfield'], $album_data['album_desc_options'], $request->variable('desc_parse_bbcode', false), $request->variable('desc_parse_urls', false), $request->variable('desc_parse_smilies', false)); |
| 390 | 390 | |
| 391 | 391 | /** |
| 392 | - * borrowed from phpBB3 |
|
| 393 | - * @author: phpBB Group |
|
| 394 | - * @location: acp_forums->manage_forums |
|
| 395 | - */ |
|
| 392 | + * borrowed from phpBB3 |
|
| 393 | + * @author: phpBB Group |
|
| 394 | + * @location: acp_forums->manage_forums |
|
| 395 | + */ |
|
| 396 | 396 | // Parent should always be filled otherwise we use initialise_album() |
| 397 | 397 | if ($album_data['parent_id']) |
| 398 | 398 | { |
@@ -833,13 +833,13 @@ discard block |
||
| 833 | 833 | } |
| 834 | 834 | |
| 835 | 835 | /** |
| 836 | - * Event delete user albums |
|
| 837 | - * |
|
| 838 | - * @event phpbbgallery.core.ucp.delete_album |
|
| 839 | - * @var int album_id Album ID |
|
| 840 | - * @var array deleted_albums Deleted album IDs |
|
| 841 | - * @since 1.2.0 |
|
| 842 | - */ |
|
| 836 | + * Event delete user albums |
|
| 837 | + * |
|
| 838 | + * @event phpbbgallery.core.ucp.delete_album |
|
| 839 | + * @var int album_id Album ID |
|
| 840 | + * @var array deleted_albums Deleted album IDs |
|
| 841 | + * @since 1.2.0 |
|
| 842 | + */ |
|
| 843 | 843 | $vars = array('album_id', 'deleted_albums'); |
| 844 | 844 | extract($phpbb_dispatcher->trigger_event('phpbbgallery.core.ucp.delete_album', compact($vars))); |
| 845 | 845 | |
@@ -58,8 +58,8 @@ discard block |
||
| 58 | 58 | foreach ($images as $image_src) |
| 59 | 59 | { |
| 60 | 60 | /** |
| 61 | - * Import the images |
|
| 62 | - */ |
|
| 61 | + * Import the images |
|
| 62 | + */ |
|
| 63 | 63 | |
| 64 | 64 | $image_src = str_replace("{{$import_schema}}", "'", $image_src); |
| 65 | 65 | $image_src_full = $gallery_url->path('import') . utf8_decode($image_src); |
@@ -153,21 +153,21 @@ discard block |
||
| 153 | 153 | $file_link = $gallery_url->path('upload') . $image_filename; |
| 154 | 154 | |
| 155 | 155 | /** |
| 156 | - * Event to trigger before mass update |
|
| 157 | - * |
|
| 158 | - * @event phpbbgallery.acpimport.update_image_before |
|
| 159 | - * @var array additional_sql_data array of additional sql_data |
|
| 160 | - * @var string file_link String with real file link |
|
| 161 | - * @since 1.2.0 |
|
| 162 | - */ |
|
| 156 | + * Event to trigger before mass update |
|
| 157 | + * |
|
| 158 | + * @event phpbbgallery.acpimport.update_image_before |
|
| 159 | + * @var array additional_sql_data array of additional sql_data |
|
| 160 | + * @var string file_link String with real file link |
|
| 161 | + * @since 1.2.0 |
|
| 162 | + */ |
|
| 163 | 163 | $vars = array('additional_sql_data', 'file_link'); |
| 164 | 164 | extract($phpbb_dispatcher->trigger_event('phpbbgallery.acpimport.update_image_before', compact($vars))); |
| 165 | 165 | |
| 166 | 166 | if (($filetype[0] > $gallery_config->get('max_width')) || ($filetype[1] > $gallery_config->get('max_height'))) |
| 167 | 167 | { |
| 168 | 168 | /** |
| 169 | - * Resize overside images |
|
| 170 | - */ |
|
| 169 | + * Resize overside images |
|
| 170 | + */ |
|
| 171 | 171 | if ($gallery_config->get('allow_resize')) |
| 172 | 172 | { |
| 173 | 173 | $image_tools->resize_image($gallery_config->get('max_width'), $gallery_config->get('max_height')); |
@@ -180,13 +180,13 @@ discard block |
||
| 180 | 180 | $file_updated = (bool) $image_tools->resized; |
| 181 | 181 | |
| 182 | 182 | /** |
| 183 | - * Event to trigger before mass update |
|
| 184 | - * |
|
| 185 | - * @event phpbbgallery.acpimport.update_image |
|
| 186 | - * @var array additional_sql_data array of additional sql_data |
|
| 187 | - * @var bool file_updated is file resized |
|
| 188 | - * @since 1.2.0 |
|
| 189 | - */ |
|
| 183 | + * Event to trigger before mass update |
|
| 184 | + * |
|
| 185 | + * @event phpbbgallery.acpimport.update_image |
|
| 186 | + * @var array additional_sql_data array of additional sql_data |
|
| 187 | + * @var bool file_updated is file resized |
|
| 188 | + * @since 1.2.0 |
|
| 189 | + */ |
|
| 190 | 190 | $vars = array('additional_sql_data', 'file_updated'); |
| 191 | 191 | extract($phpbb_dispatcher->trigger_event('phpbbgallery.acpimport.update_image', compact($vars))); |
| 192 | 192 | |