 		$get_pm_labels = $smcFunc['db_query']('', '
 			SELECT id_pm, id_member, labels
 			FROM {db_prefix}pm_recipients
-			WHERE deleted = {INT:not_deleted}
+			WHERE deleted = {int:not_deleted}
 				AND labels != {string:minus_one}',
 			array(
 				'not_deleted' => 0,

---#

/******************************************************************************/
--- Cleaning up INTegration hooks
/******************************************************************************/
---# Deleting INTegration hooks
DELETE FROM {$db_prefix}settings
WHERE variable LIKE 'INTegrate_%';
---#

/******************************************************************************/

				$smcFunc['db_query']('', '
					UPDATE {db_prefix}attachments
					SET mime_type = {string:mime_type}
					WHERE id_attach = {int:id_attach}',
					array(
						'id_attach' => $row['id_attach'],
						'mime_type' => substr($size['mime'], 0, 20),
