Code Duplication    Length = 2-2 lines in 2 locations

classes/Pods.php 2 locations

@@ 4309-4310 (lines=2) @@
4306
						}
4307
					}
4308
4309
					if ( ! $author_restrict && ! current_user_can( 'pods_edit_' . $this->pod ) && ! current_user_can( 'pods_edit_others_' . $this->pod ) ) {
4310
						$actions_disabled['edit'] = 'edit';
4311
					}
4312
4313
					if ( ! $author_restrict && ! current_user_can( 'pods_delete_' . $this->pod ) && ! current_user_can( 'pods_delete_others_' . $this->pod ) ) {
@@ 4313-4314 (lines=2) @@
4310
						$actions_disabled['edit'] = 'edit';
4311
					}
4312
4313
					if ( ! $author_restrict && ! current_user_can( 'pods_delete_' . $this->pod ) && ! current_user_can( 'pods_delete_others_' . $this->pod ) ) {
4314
						$actions_disabled['delete'] = 'delete';
4315
					}
4316
4317
					if ( ! current_user_can( 'pods_reorder_' . $this->pod ) ) {