projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common: Represent core/client features as string list in the protocol
[quassel.git]
/
src
/
core
/
SQL
/
upgradeSchema.sh
diff --git
a/src/core/SQL/upgradeSchema.sh
b/src/core/SQL/upgradeSchema.sh
index
57792e0
..
22bbff5
100755
(executable)
--- a/
src/core/SQL/upgradeSchema.sh
+++ b/
src/core/SQL/upgradeSchema.sh
@@
-89,7
+89,7
@@
#
# Newer clients need to detect when they're on an older core to disable the
# feature. Use 'enum Feature' in 'quassel.h'. In client-side code, test with
#
# Newer clients need to detect when they're on an older core to disable the
# feature. Use 'enum Feature' in 'quassel.h'. In client-side code, test with
-# 'if (Client::
coreFeatures() & Quassel::FeatureName
) { ... }'
+# 'if (Client::
isCoreFeatureEnabled(Quassel::Feature::FeatureName)
) { ... }'
#
# 9. Test everything! Upgrade, migrate, new setups, new client/old core,
# old client/new core, etc.
#
# 9. Test everything! Upgrade, migrate, new setups, new client/old core,
# old client/new core, etc.