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

@ -562,6 +562,7 @@ define ( 'ITEM_BUILDBLOCK', 0x0100); // Named thusly to make sure nobody co
define ( 'ITEM_PDL', 0x0200); // Page Description Language - e.g. Comanche
define ( 'ITEM_BUG', 0x0400); // Is a bug, can be used by the internal bug tracker
define ( 'ITEM_PENDING_REMOVE', 0x0800); // deleted, notification period has lapsed
define ( 'ITEM_DOC', 0x1000); // hubzilla only, define here so that item import does the right thing
/**
* Item Flags

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;
}

File diff suppressed because it is too large Load Diff

View File

@ -1 +1 @@
2015-07-02.1081
2015-07-03.1082