Skip to content

Commit ecb4f73

Browse files
Remove unused
1 parent 3b03655 commit ecb4f73

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/compatibility/as3cf/class-tiny-as3cf.php

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,6 @@ class Tiny_AS3CF
1919
*/
2020
private $tiny_settings;
2121

22-
/**
23-
* Tinify is configured to automatically compress images
24-
*
25-
* @var boolean
26-
*/
27-
private $tiny_autocompress = false;
28-
2922
/**
3023
* Checks wether the lite version is active
3124
*/
@@ -72,20 +65,6 @@ public static function remove_local_files_setting_enabled()
7265
public function add_hooks()
7366
{
7467
add_action('as3cf_pre_upload_object', array($this, 'as3cf_before_offload'), 10, 2);
75-
// add_action('tiny_image_after_compression', array($this, 'as3cf_upload'), 10, 2);
76-
}
77-
78-
/**
79-
* handler for 'tiny_image_after_compression' action
80-
*
81-
* @see Tiny_Image->compress()
82-
*
83-
* @param int $attachment_id The attachment ID.
84-
* @param bool $success True if the image was successfully compressed.
85-
*/
86-
public function as3cf_upload($attachment_id, $success)
87-
{
88-
// $this->compression_done = true;
8968
}
9069

9170
/**

0 commit comments

Comments
 (0)