aboutsummaryrefslogtreecommitdiffstats
path: root/include/identity.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-01-17 16:29:32 -0800
committerredmatrix <git@macgirvin.com>2016-01-17 16:29:32 -0800
commit10ed334e8c81d1db4a506716b78ece13dc69266c (patch)
tree79a610615bbd6aacff90ff800cad0e08649c8407 /include/identity.php
parent9b3b2efe9aa374565c0c67bbc67c36f9c99d3add (diff)
downloadvolse-hubzilla-10ed334e8c81d1db4a506716b78ece13dc69266c.tar.gz
volse-hubzilla-10ed334e8c81d1db4a506716b78ece13dc69266c.tar.bz2
volse-hubzilla-10ed334e8c81d1db4a506716b78ece13dc69266c.zip
various issues from the forums
Diffstat (limited to 'include/identity.php')
-rw-r--r--include/identity.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/identity.php b/include/identity.php
index deccaa299..2a02d4093 100644
--- a/include/identity.php
+++ b/include/identity.php
@@ -482,6 +482,8 @@ function identity_basic_export($channel_id, $items = false) {
$ret = array();
+ // use constants here as otherwise we will have no idea if we can import from a site
+ // with a non-standard platform and version.
$ret['compatibility'] = array('project' => PLATFORM_NAME, 'version' => RED_VERSION, 'database' => DB_UPDATE_VERSION);
$r = q("select * from channel where channel_id = %d limit 1",