in hubzilla we're going to convert doco to items. define it here so that an accidental import/export doesn't chuck a wobbly.

This commit is contained in:
redmatrix
2015-07-03 14:30:42 -07:00
parent 065a50c920
commit 0b9332fde9
4 changed files with 307 additions and 252 deletions

View File

@@ -1198,12 +1198,15 @@ function encode_item($item,$mirror = false) {
case 2:
$x['item_restrict'] |= ITEM_PDL;
break;
case 2:
case 3:
$x['item_restrict'] |= ITEM_WEBPAGE;
break;
case 2:
case 4:
$x['item_restrict'] |= ITEM_BUG;
break;
case 5:
$x['item_restrict'] |= ITEM_DOC;
break;
default:
break;
}