Code Duplication    Length = 3-3 lines in 2 locations

admin/main.php 2 locations

@@ 811-813 (lines=3) @@
808
        if (isset($_POST['delpicture1']) && (int)$_POST['delpicture1'] == 1) {
809
            $item->setVar('auth_photo1', '');
810
        }
811
        if (isset($_POST['delpicture2']) && (int)$_POST['delpicture2'] == 1) {
812
            $item->setVar('auth_photo2', '');
813
        }
814
        if (isset($_POST['delpicture3']) && (int)$_POST['delpicture3'] == 1) {
815
            $item->setVar('auth_photo3', '');
816
        }
@@ 1429-1431 (lines=3) @@
1426
            $item->setVar('book_image_url', '');
1427
        }
1428
1429
        if (isset($_POST['delpicture2']) && (int)$_POST['delpicture2'] == 1) {
1430
            $item->setVar('book_thumb_url', '');
1431
        }
1432
1433
        if (isset($_POST['delattach']) && (int)$_POST['delattach'] == 1) {
1434
            $item->setVar('book_attachment', '');