Removing unnecessary sharer.php code