]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Post/DeliveryData.php
Preview for Videos and images / Video resolution selection
[friendica.git] / src / Model / Post / DeliveryData.php
index 0feb38281bf1512ce3589d8298c217a0a9178b5b..5c7fdd4d32a2f59af9049f779580cbcd60f571ef 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -148,7 +148,7 @@ class DeliveryData
 
                $fields['uri-id'] = $uri_id;
 
-               return DBA::insert('post-delivery-data', $fields);
+               return DBA::replace('post-delivery-data', $fields);
        }
 
        /**