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:
parent
065a50c920
commit
0b9332fde9
1
boot.php
1
boot.php
@ -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_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_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_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
|
* Item Flags
|
||||||
|
@ -1198,12 +1198,15 @@ function encode_item($item,$mirror = false) {
|
|||||||
case 2:
|
case 2:
|
||||||
$x['item_restrict'] |= ITEM_PDL;
|
$x['item_restrict'] |= ITEM_PDL;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 3:
|
||||||
$x['item_restrict'] |= ITEM_WEBPAGE;
|
$x['item_restrict'] |= ITEM_WEBPAGE;
|
||||||
break;
|
break;
|
||||||
case 2:
|
case 4:
|
||||||
$x['item_restrict'] |= ITEM_BUG;
|
$x['item_restrict'] |= ITEM_BUG;
|
||||||
break;
|
break;
|
||||||
|
case 5:
|
||||||
|
$x['item_restrict'] |= ITEM_DOC;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
549
util/messages.po
549
util/messages.po
File diff suppressed because it is too large
Load Diff
@ -1 +1 @@
|
|||||||
2015-07-02.1081
|
2015-07-03.1082
|
||||||
|
Reference in New Issue
Block a user